An open API service indexing awesome lists of open source software.

https://github.com/hakolao/filler


https://github.com/hakolao/filler

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Filler
An AI bot to play the filler game

![filler_image](img/filler.png)

Filler:
```
Filler is an algorithmic game which consists in filling a grid of a known size in advance
with pieces of random size and shapes, without the pieces being stacked more than one
square above each other and without them exceeding the grid. If one of these conditions
is not met, the game stops.
```

## Install
```
git clone https://github.com/hakolao/filler.git && cd filler && make
```

## Run (Terminal)
```
./test/filler_vm -f test/maps/map02 -p1 ./ohakola.filler -p2 test/players/superjeannot.filler
```

## Run visually (UI)
```
./test/filler_vm -f test/maps/map02 -p1 "./ohakola.filler visual" -p2 test/players/superjeannot.filler
```

## Strategy
TBD

## Test script
Run test scripts with test maps and check results after. You'll see how many of the games were won.
```
# Run only on map00 5 games against test all test players where you are player 1
make test_quick_p1
# Run all maps 5 games against test all test players where you are player 1
make test_slow_p1
# Run only on map00 5 games against test all test players where you are player 2
make test_quick_p2
# Run all maps 5 games against test all test players where you are player 2
make test_slow_p2
```