Abstract Strategy is a framework that makes it easier to implement abstract strategy games on grids, such as Checkers, Reversi, Tic Tac Toe and many more. It supports building AI with behavior trees.
Define Game Rules: Define game rules for any abstract strategy game.
Players: Supports human players or AI players (AI reasoning must be supplied).
Move Management:
- Moves: Abstract game state changes that can be used to build AI, support undo, or simulate gameplay.
- Move Manager: Keeps track of move sequences and when moves are possible.
- Support for animating moves.
Turn Management: The TurnManager controls whose turn it is and when to switch players.
Piece Rules: Add to open space, hop over enemy to capture it, move to adjacent open space, capture adjacent piece, or apply a custom rule.
Victory Conditions: Player cannot move, player does not have any pieces, player constructs a row, or custom rules.
AI Support: Supports AI through behavior trees that can be constructed in the editor with graphs.
Samples Included: Samples included: Tic Tac Toe (with rudimentary AI), Reversi (with rudimentary AI), Lines of Action, Checkers (aka Draughts), and tutorial examples of basic game setup.
Requires Gamelogic Grids: Built on top of Gamelogic Grids, allowing precise and elegant expression of positional game rules, defining games on arbitrarily shaped boards, and working with hex grids.