Skip to content

Our submission for the 2022 Codam Hackathon "Clash of the Coalitions" - second phase!

Notifications You must be signed in to change notification settings

42pde-bakk/Cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cluster

The game made by Clusterfuck

@jaberkro, @tbouma, @okruitho and @pde-bakk.

Every team has built a clusterfuck of a codebase, we are the only ones who actually own up to it!

Playing

Start playing by running ./cluster.
If you want to play with 1 or 2 bots, please run:
./cluster [bot1_pathname] [bot2_pathname].
To change the grid size (default is 5), add the flag --size=X.
To change the winning condition (default is connect 4), add the flag --connect=X.
Example: ./cluster --size=7.

Compiling

Compile the game by running make.
List of compilation options:

VANILLA=1 # Turns 'blocked tiles' mode off 
TIME_OUT=t # t is the time out in milliseconds
ANIMATION=0 # Turns the animation off
ANIMATION_USLEEP=t # Sets the delay between printing states in milliseconds
LEAKS=1 # Abba thinks we segfault, let's help him rid this illusion!

Compile our standard bots by running make -C bots.

Happy playing!

About

Our submission for the 2022 Codam Hackathon "Clash of the Coalitions" - second phase!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •