Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

Latest commit

 

History

History
60 lines (32 loc) · 1.52 KB

README.md

File metadata and controls

60 lines (32 loc) · 1.52 KB

My java project : the game Filler

Objective and rules:

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:

Selection of the number of player

Screenshot of the game:

Screenshot of the game working

A finished game:

A finished game

How to run the 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:

  1. Size of the board
  2. Number of players
  3. Number of IA
  4. If you want a GUI

Library used

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.