Which paradigm to use for writing chess engine?

Posted by poke on Programmers See other posts from Programmers or by poke
Published on 2011-01-08T16:24:38Z Indexed on 2012/11/10 17:17 UTC
Read the original article Hit count: 338

If you were going to write a chess game engine, what programming paradigm would you use (OOP, procedural, etc) and why whould you choose it ? By chess engine, I mean the portion of a program that evaluates the current board and decides the computer's next move.

I'm asking because I thought it might be fun to write a chess engine. Then it occured to me that I could use it as a project for learning functional programming. Then it occured to me that some problems aren't well suited to the functional paradigm. Then it occured to me that this might be good discussion fodder.

© Programmers or respective owner

Related posts about object-oriented

Related posts about functional-programming