Web site:
Category: Games
Sub-Category: Board
Platform: Linux, Windows
License: GNU GPL
Interface: GUI
Wikipedia:
First release: 2000
Filler – a simple game where two players try to capture half of the board. Players take turns selecting colours to capture all adjacent hexes of the same colour.
The first rule is that all player classes must go in the package “friendless.games.filler.player”. After you have written a new player class, add its class name to the String[] PLAYER_CLASS_NAMES in PlayerWrappers. That will cause the game to try to load the class and present it as a computer opponent.
All players must implement the interface FillerPlayer. However, it is most convenient if they subclass AbstractFillerPlayer, as that class provides some methods which help the player to look at the board and do some basic calculations. The only class which directly subclasses AbstractFillerPlayer is HumanFillerPlayer, which allows a player to play from the GUI console.
There are various types of robot player, varying in levels of intelligence. Each class implements some algorithms, and the player classes simply choose which algorithm to invoke. In order of increasing intelligence, the robot classes are DumbRobotPlayer, RobotPlayer, LookaheadRobotPlayer, and OptimalRobotPlayer. Each is described in detail in a following section.