Skip to content

VivienLambert/Corewar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corewar

Our own implementation of the famous 1984's Corewar game.

Assembler

Overview

Used to compile '.s' pseudo-assembly champions into '.cor' binaries readable by the Virtual Machine.

Usage

./asm [files .s]

Virtual Machine

Overview

Run the aforementioned binaries and provide options to visualize the execution.

Usage

./corewar [-d | -v | -V | -z] [-dump nbr_cycles] [[-n number] champion1.cor] ... Max 4 players
  -d: Debug mode (output on STDERR, combinable with -V)
  -v: Verbose mode
  -V: Visual mode
  -z: Ncurse mode

Visualizers

Go

./corewar -V [champions.cor] | ./visu

Ncurses

./corewar -z [champions.cor]

Footnotes

Resources used

Corewar 42's subject (FR)

Corewar 42's subject (EN)

Corewar Operations by Jyeo

Corewar Operations Cheatsheet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 48.5%
  • C 48.1%
  • Go 1.3%
  • Makefile 1.2%
  • Shell 0.9%