Algorithms I Project
This project is about creating a game AI that, battles with another user-defined AI for the purpose of conquering the game board.
Game Rules
-
This a turn-based two player game.
-
The game is played on an empty game board, which is an empty X * N grid.
-
The game master (a Ruby-based gamescript) controls the turns.
-
Each turn, the game master prints:
- an updated game board and,
- a new token.
Library compile using make
make
/ make all
Compiles all source files into object code and then links to library
make clean
Removes .o
files
make fclean
Removes executable file
make re
Runs fclean
then all
make play
Shows help
make v00
runs ./filler_vm
with player 0 (champely.filler) on map00
make v32
runs ./filler_vm
with player 3 (abanlin.filler) on map02 etc.
Concepts tested:
- Algorithms (Heuristic, Brute force, Divide & Conquer)
- Game AI
- Error/Signal handling
- Unix I/O handling