It is a single or multiplayer game, each turn a player choose a color. Once the color is choosed the player conqueer all the token around him which bear the same color.
The first to conqueer more than half of the board win the game.
- One player can not choose an other player color.
- The game does not allow more than 4 player including IA
Screen to choose the number of player:
Screenshot of the game:
A finished game:
Download the source with your IDE, and ewecute the class Main
You have two constructor to choose from :
Game game = new Game();
by using this method a game with a GUI asking you the number of player and the number of IA as well as the size of the board.
If you prefer to write thos parameter you can use this method :
Game game = new Game(20,1,1,false);
List of the parameter:
- Size of the board
- Number of players
- Number of IA
- If you want a GUI
The only third party software used was the StdDraw Library which allowed me to create quickly and simply the GUI.
But for my next project i will use swing which would allow me to build a snappier UI.