Skip to content

LsHanaha/corewar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoreWar

Goal of CoreWar project

To write interpreter for pseudo-assembler language, write virtual machine for this language and make the breathtaking visualisation CoreWar game.

How to Run this

To run Assembly language interpreter:

./asm [input files]
	input files - correct *.s file written in Assembly language

To run CoreWar game without visualisation:

./corewar [args...][-n][number][filename.cor]|[filename.cor]
	s - silent. No live operation prints
	help - help message
	[-n][number] - set player's number to [number]
	[filename.cor] - path to champion.

To run breathtaking CoreWar game:

./visu	[args...][-n][number][filename.cor]|[filename.cor]
	s - silent. No live operation prints
	help - help message
	[-n][number] - set player's number to [number]
	[filename.cor] - path to champion.

How its look like?

CoreWar game

Prerequisites to rebiuld programs

You have to install graphics libraries as in this instructions to ~/Library/Frameworks/

SDL2        
SDL2_image  
SDL2_ttf    

You have to upload .c and .h files from this source to ~/SDL_gfx/

SDL_gfx

About

Corewar team in school 21

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published