Breakthrough game, AI agents playing.
Ali Shahram Musavi, Swomma Roy and Sirajus Salekin
- Make sure you have
python 3
installed. - Run
python game.py
and follow the instructions. - If you want to play with Evasive and House Lannister, type
1 3
when prompted- Evasive
- Conquerer
- House Lannister
- House Stark
- After choosing the opponents, you need to choose the board you want
to play on. For example, if you want to play on a (3x3, 1) board, Enter
3 3 1
, respectively.
Simply run the testTransition.py
file:
python testTransition.py
-
Finished implementing
Board
Class methodsget_moves(position)
is_valid(source, destination)
get_sym(position)
get_direction(position)
- Integrated
display_state()
- Integrated
terminal_state()
- Add
self.turn
to theBoard
and check before moving any piece to ensure the integrity of the game - Implement
move_generator(player)
method that will provide all the moves for a particular player
-
Test coverage for finished methods
-
get_moves(position)
-
is_valid(source, destination)
-
all_moves(player)
-
move(position, direction)
-
get_sym(position)
-
get_direction(position)
-
display_state()
-
terminal_state()
-
- Finish implementing the
Agent
class - Decide whether to implement a function or class for
Game
- Finish
minimax
tree - Implement
conquerer
and 2 more utility functions