https://github.com/vomnes/corewar
In this project, you will create a virtual “arena” in which programs will fight against one another (the “Champions”). You will also create an assembler to compile those Champions as well as a Champion to show the world that you can create life from coffee.
https://github.com/vomnes/corewar
asm compiler corewar parser virtual-machine
Last synced: about 1 year ago
JSON representation
In this project, you will create a virtual “arena” in which programs will fight against one another (the “Champions”). You will also create an assembler to compile those Champions as well as a Champion to show the world that you can create life from coffee.
- Host: GitHub
- URL: https://github.com/vomnes/corewar
- Owner: vomnes
- License: mit
- Created: 2017-04-16T20:36:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T14:23:17.000Z (about 7 years ago)
- Last Synced: 2025-03-05T07:04:13.253Z (about 1 year ago)
- Topics: asm, compiler, corewar, parser, virtual-machine
- Language: C
- Size: 3.06 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Corewar
In this project, you will create a virtual “arena” in which programs will fight against one another (the “Champions”). You will also create an assembler to compile those Champions as well as a Champion to show the world that you can create life from coffee.
[ASM Explanation](https://github.com/vomnes/Corewar/blob/master/ASM_/README.md)
#### Teamwork
- [@vomnes](https://github.com/vomnes) : The Assembler
- [@atrudel](https://github.com/atrudel) : The Virtual Machine
- [@pdady](https://github.com/pdady) : The Virtual Machine and the Visual (ncurses)
## ASM
- The assembler: this is the program that will compile your champions and translate them from the language you will write them in (assembly language) into “Bytecode”. Bytecode is a machine code, which will be directly interpreted by the virtual machine.

### file.s (Pseudo-ASM) to file.cor (Binary file)
 → 
### Details binary compilation

## VM
- The virtual machine: It’s the “arena” in which your champions will be executed. It offers various functions, all of which will be useful for the battle of the champions. Obviously, the virtual machine should allow for numerous simultaneous processes; we are asking you for a gladiator fight, not a one-man show simulator.

### Corewar Visual with ncurses

### Corewar Visual end

### Corewar Verbose mode

### Corewar Dump mode
