vivariums.net is a Digital Life Vivarium — an interactive platform where you can observe, create, and learn about digital life forms competing in a virtual memory space.
Our mission is to bring the classic programming game CoreWar into the modern web era, making it accessible to everyone from curious beginners to experienced programmers. We believe that CoreWar is not just a game; it is a powerful educational tool for understanding low-level programming, algorithm design, and the fascinating concept of artificial life.
CoreWar is a programming game created by A.K. Dewdney and first published in *Scientific American* in 1984. In this game, two or more programs (called "Warriors") written in an assembly-like language called Redcode compete for survival inside a shared circular memory (the "Core").
Each warrior tries to eliminate its opponent by causing all of the opponent's processes to execute a DAT instruction, which terminates the process. The last warrior with any running processes wins.
What makes CoreWar fascinating is how incredibly complex and emergent behaviors arise from just 19 simple instructions. Through decades of community evolution, warrior strategies have developed into sophisticated archetypes such as:
vivariums.net is built with modern web technologies:
Mars.ts) — An enhanced simulation engine powered by Gareth Williams' open-source corewar library (ICWS-94 simulator & parser), integrated with proprietary cell ownership tracking, access logging, and structured editor synchronization.The simulation runs entirely in your browser. No data is sent to our servers — your warrior code and mission progress are stored locally on your device.
We gratefully acknowledge the open-source projects and authors that make this platform possible:
vivariums.net is developed and maintained as an independent project dedicated to preserving and promoting the CoreWar programming game as an educational resource.
CoreWar has a vibrant global community. Here are some ways to get involved:
For questions, feedback, or collaboration inquiries, please reach out using the form below: