This is one of the (actually) five final projects concluding the first part of 42 cursus.
Core War is a 1984 programming game created by D. G. Jones and A. K. Dewdney in which two or more battle programs (called "warriors") compete for control of a virtual computer. These battle programs are written in an abstract assembly language called Redcode.
(in french) pdf
This subject is mainly about team work on a large project and clean code.
git clone https://github.com/zcugni/corewar.git && cd corewar && make
to compile a champion to a .cor file
./asm <file.s>
to start a fight (up to 4 fighter):
./vm <file.cor> <…>
or to have a visualization of the fight (made with ncurses)
./vm -nc <file.cor> <…>
to see every options available for the vm
./vm
alouisy | jgroc-de | zcugni |