/corewar

A reproduction of the Core War game. A project by a group of four. Original repository here: github.com/ollevche/corewar

Primary LanguageC

corewar

A reproduction of the Core War game. A project by a group of four. Original repository here

The point of this project is to create a VM and a compiler for the players.
Players are literal code that is compiled and placed on the map for execution by the vm.
The vm executes any and all commands on the playing field keeping track of the player's carrets and field occupation.
To win the player must occupy the most space in a given number of moves.

An example of how the field looks during execution with two players