Local arena to test your code against everyone else's
The arena was made to compile on Mac.
- Clone the repository, then Make; an executable
arena
will be created and player object files inplayerObject/
will be turned into executables - The executable of each player will be in
player/
, you may want to copy the bots you're interested to fight against toopponents/
./arena your_executable opponent_executable1 opponent_executable2 ... 2> /dev/null
to confront your executable against all other executables passed as parameter, as many times as specified on the #define PLAYOUT
on arena.cpp (2> /dev/null
to get rid of the stderr output)
./arena your_executable
to confront your executable against all other executables in opponents/
We need you to compile your arena code to an object file (with the flag -arch x86_64
) and to do a Pull Request to playerObject/your_login.o
The idea is to have plenty of bots there to do some serious benchmarking, and therefore to boost the school performance during the last days of challenge
To work in your code and see the results of your changes in real time you propably want to have your source code in the arena (locally). You can place your source login.cpp
in compilePlayer/
, and then Make will compile that, update your object and create the appropiate executable.
Make will try to compile your source as C++, you will need to change the Makefile if you code in another language
/!\ There is already a .gitignore, so you cannot push your source code to the arena by error /!\