Skip to content

rearming/42-Filler

Repository files navigation

42-Filler

Simple 'AI' bot for 42-Filler game written in C

Compilation:

git clone https://github.com/rearming/42-Filler
cd 42-Filler
make

To run filler_vm you must have Ruby installed. Notice, that other filler players (located in resources/players) were compiled on Mac OS X, so it is impossible to run them on Linux.

Usage (Mac OS):

cd resources
./filler_vm -f maps/map*.txt -p1 ../sleonard.filler -p2 players/*.filler

Usage (Linux):

./filler_vm -f maps/map*.txt -p1 ../sleonard.filler -p2 ../sleonard.filler

If you want to try it with my graphical visualizer, simply redirect input of game to it:

cd resources
./filler_vm -f maps/map*.txt -p1 ../sleonard.filler -p2 ../sleonard.filler | python3.7 ../visualizer/visualizer.py

Example of visualization:

Image alt

Hope you enjoy!

About

Simple 'AI' bot for 42-Filler game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published