What is CoreWar? Interactive Redcode Simulator & ALife Learning Platform
What is CoreWar?
CoreWar is a programming game created by A. K. Dewdney in 1984. In CoreWar, two or more programs (called Warriors) compete inside a virtual computer's shared memory (the Core). Warriors are written in Redcode, a simple assembly language.
The goal is to disable your opponent's warrior by causing all of their processes to execute a DAT instruction, which terminates the process.
Von Neumann Architecture & Artificial Life
At the heart of CoreWar lies a fundamental principle of Von Neumann architecture: the equivalence of code and data. Instructions residing in memory can be read and overwritten just like raw numbers.
This architecture enables programs to rewrite their own instructions on the fly ("self-modification"), spawn identical copies in distant memory regions ("self-replication"), and launch strategic attacks against adversaries—giving rise to digital organisms that behave like artificial life.
Experience the World of CoreWar in Your Browser (Academy & Laboratory)
vivariums.net brings this classic simulation directly to your browser with zero setup required.
🎓 Academy (Interactive Missions)
Step-by-step interactive missions that guide you from your very first MOV instruction to advanced multi-threaded combat algorithms.
🔬 Laboratory (IDE & Battle Arena)
A full-featured sandbox where you can write, inspect, debug, and battle your own Redcode warriors against classic historical champions.
📚 Resources (Anatomy & Documentation)
Explore the anatomical blueprints of iconic digital organisms (Imp, Dwarf, Paper, Scanner, Vampire) alongside comprehensive ICWS-94 specifications.
Get Started
- Begin with the Academy to learn the basics
- Explore the Reference for detailed instruction documentation
- Jump into the Laboratory to experiment freely