The strategy game framework is a Java framework for abstract strategy games. Wikipedia defines an abstract strategy game as follows:

An abstract strategy game is a board game with perfect information, no chance, and (usually) two players. Many of the world's classic board games, including chess, go and mancala, fit into this category. Play is sometimes said to resemble a series of puzzles the players pose to each other.

The strategy game framework provides the means for defining the entities that comprise the game (board, players, moves); the logic for determining what is a good position to be in; and the engine for determining which is the best move to play based on the state of play. The complexity of the game is mostly irrelevant - this framework could be used to implement simple games such as tic-tac-toe or more complex games such as chess.

The strategy game framework and the associated code available on this site is Copyright © Michael Patricios. All the code is open source and released under the GNU General Public License, as published by the Free Software Foundation.

Additional code is provided with the framework, which illustrates its use, including fully-featured reversi and connect-four applets.

Objectives

The objectives of this project are to:
  • Provide a resource to others interested in abstract strategy games.
  • Use the framework to implement several different games.
  • Use the framework on a variety of platforms, including mobile.

Future Games

Future games using the strategy game framework currently planned include:
  • Hexxagon.
  • Attaxx.
  • Nine men's morris.

News

14 December 2007

  • Version 2.1 of the strategy game framework released. See release notes for details of changes.

29 July 2007

  • After several delays, version 2 of the strategy game framework has been released.
  • The game of connect-four has been added to the code base. Like the reversi implementation it has a console version and an applet.
  • The supporting code for the strategy game framework has undergone a major refactor. Common functionality was abstracted out whilst the connect-four game was being implemented to allow it and the reversi implementation to share it. There is now a common console package and a common applet package.
  • The source has been rearranged somewhat to accommodate the changes.

 

Site Last Updated 22 May 2008.
Powered by PHP   Best with Firefox   Validate XHTML 1.0