
After my last post, i was wondering if really complex programs/systems/applications could be written using simple, easy-to-understand code. Code that does not span more than 10 lines a method.
The most complex program that i could think of to experiment with was a Chess server – an app that would evaluate a position and suggest the “next best” move. This app would have a set of rules which would determine how good a position is. All possible “next moves” will be stored in a tree and evaluated on the position they end up with after ‘n’ moves. For more information->http://en.wikipedia.org/wiki/Computer_chess
I have created an open-source project on sourceforge.net for this activity->http://sourceforge.net/projects/javachessserver. What i have in there so far are the Chess domain objects, Rule interface, several skeleton rules and one concrete rule->CheckmateRule
I would be interested in knowing what you think about this project. If you are interested in joining this project and wish to explore this idea, i would be happy to include you.