As a personal project, I'm working on extending Simon Cozens
Games::Goban module to include referees for various games, as well as basic AI modules for each game. I am trying to build a basic minimax harness that I can use with each of the various game types.
More detail:
- All the games are 2-player games. I don't believe that they are necessarily zero-sum games. (For example, I don't think that go is necessarily zero-sum, and go-mo-ku isn't, either.)
- All games are perfect information, back-and-forth games. They also all run on the same type of game state, so I plan on allowing this harness to specialize to that gamestate.
- I most certainly can determine a pay-off matrix for each player's moves. (That, in fact, is the ultimate fun of this project - figuring out payoff matrices for Go in Perl. *grins*)
So far, I've built a referee and basic AI for Othello and am working on implementing NxN Tic-Tac-Toe. I'm using those as the simpler AI's and referees to build. Then, I want to build Go.
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.