Filler is an algorithmic game where two autonomous bots compete against each other to occupy as much space as possible on a grid, called the Anfield. Each bot receives and places pieces of varying random shapes and sizes, provided by a game engine. The ultimate goal is to strategically place pieces to dominate the grid while blocking the opponent's moves.
Follow these instructions to set up your environment and run the game using Docker:
- Download the docker image
- Unzip the downloaded file
- Extract the contents of the downloaded
filler.zip
file into a folder.
- Extract the contents of the downloaded
- Clone the
filler
repository - Move the contents into the Docker image folder
- Place all the contents of the cloned repository into the
solution
folder located inside the unzipped Docker image folder.
- Place all the contents of the cloned repository into the
- Build and Run the Docker Container
- Navigate to the root of the unzipped Docker image folder.
- Execute the following commands:
docker build -t filler . docker run -v "$(pwd)/solution":/filler/solution -it filler
This builds the Docker conainter and runs it, mounting the solution inside the container.
- Compile and Run the Filler Game
- Once inside the container, navigate to the
solution
folder.cd solution
- Use the following commands to compile and interact with the project:
make build
- Compiles the project.make help
- Displays the list of available commands.
- Once inside the container, navigate to the