- To build the image
docker build -t filler . - To run the container
docker run -v "$(pwd)/solution":/filler/solution -it filler. This instruction will open a terminal in the container, the directorysolutionwill be mounted in the container as well. - Example of a command in the container
./linux_game_engine -f maps/map01 -p1 linux_robots/bender -p2 linux_robots/terminator - Your solution should be inside the
solutiondirectory so it will be mounted and compiled inside the container and it will be able to be run in the game engine.
Terminatoris a very strong robot so it's optional to beat him.- For M1 Macs use
m1_robotsandm1_game_engine.