This is a computerized version of Takenoko Game by Antoine Bauza, played by between 2 and 4 bots.
Basic version plays one game with logs.
At the end of the execution, statistics about the game are displayed on the standard output.
Program arguments are :
-
--config CONFIG : Set a configuration for one or several games, followed by arguments. (ex : --config -n 100 -nl -p panda panda --config -n 500 -p parcel parcel)
-
-n NUMBER: Play the game NUMBER times.
-
--nologs or -nl : Game without logs.
-
--visualize or -v : Visualisation in real time for the game.
-
--interval= TIME : Time in milliseconds between updates for the viewer. (By default, TIME = 100)
-
--size= SIZE : Size in pixels of a side of Parcel. (By default, SIZE = 40)
-
--sherlock or -s : Our little easter egg. (sound must be on)
-
--players or -p STRATEGY FOR PLAYER 1 STRATEGY FOR PLAYER 2 [STRATEGY FOR PLAYER 3 STRATEGY FOR PLAYER 4] : Determine the number of players and the strategy they will use, strategies can be :
panda, gardener, parcel, random or multiple (not yet implemented) (By default, launch a game with 4 players, one with a panda strategy, one with a gardener strategy, one with a parcel strategy and one with a random strategy)
Currently, the game supports :
- 2 to 4 players.
- Drawing and validating parcel goals, panda goals and gardener goals.
- Drawing and placing irrigations.
- Drawing and placing parcels of all colors and with or without facilities.
- Drawing and validating goals.
- Drawing and placing facilities
- Ending the game with the right number of objectives. (11 minus the number of players).
- The emperor's visit for the first player to finish.
- Moving the panda and the gardener. (and their respective actions)
- Growing bamboos on parcels if the parcel is irrigated and on the neighbouring parcels of the same color.
- The weather dice
-
Jérémi Ferré
-
Hugo Francois
-
Laura Lopez
-
Prune Pillone