In this project, we created a virtual arena in which programs fight against one another (the “Champions”). We also created an assembler to compile those Champions. Finally we wrote our Champion, "Zorkslayer".
As a bonus we also created a Ncurses and a GTK interface.
$ ./corewar
$ ./corewar -v ../zorkslayer.cor ../ressources/champs/ex.cor
$ ./corewar_gui
git clone --recursive https://github.com/rbarbazz/corewar
cd corewar
make
You'll need gtk+3.0 and the matching devel packages depending on your distribution.
Just run make GTK_deps
if you're on MacOS.
make GTK -j4
- Mikael Samak - VM and ASM
- Raphael Barbazza - VM, ASM and champion
- Leo Compagnon - VM and ncurses
- Xavier Perrin - GTK and README.md