https://github.com/hakolao/filler
https://github.com/hakolao/filler
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hakolao/filler
- Owner: hakolao
- Created: 2020-06-04T14:10:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-02T13:00:00.000Z (about 5 years ago)
- Last Synced: 2025-01-01T23:09:46.742Z (9 months ago)
- Language: C
- Size: 477 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Filler
An AI bot to play the filler game
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
```