Skip to content

Latest commit

 

History

History

corewar

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Corewar

This is one of the (actually) five final projects concluding the first part of 42 cursus.

About

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.

wikipedia

Full subject

(in french) pdf

This subject is mainly about team work on a large project and clean code.

Installation & Usage:

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

What does it looks like

ncurses

The Team

alouisy jgroc-de zcugni