/corewar

Corewar Project 42

Primary LanguageC

Corewar

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.

gtk ncurses

Usage

$ ./corewar
$ ./corewar -v ../zorkslayer.cor ../ressources/champs/ex.cor
$ ./corewar_gui

Installation

Without GTK

git clone --recursive https://github.com/rbarbazz/corewar
cd corewar
make

With GTK

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

Authors