COREDUEL

COREDUEL

Core War for Android. Write a warrior in Redcode, drop it into a shared memory core and watch it fight.

Google Play Start the tutorial

What it is

Core War is the classic programming game from 1984: programs fight for control of a ring of 8000 memory cells inside a simulated computer, MARS. Each program, a warrior, is written in Redcode, a tiny assembly language with 19 instructions. A warrior wins by overwriting its opponents' code with DAT bombs, scanning the core for them, or flooding the core with copies of itself, while keeping its own processes alive.

CoreDuel implements the ICWS'94 standard with the pMARS extensions (p-space, FOR/ROF, EQU expressions) and pMARS placement and scoring rules, so classic warriors run unchanged.

Home screen Redcode editor with syntax highlighting Arena setup with bot slots Battle: the core as pixels Interactive tutorial

Features

Full Redcode
ICWS'94 opcodes, modifiers and addressing modes, p-space, EQU, FOR/ROF, ;assert. Verified against pMARS.
Editor
Syntax highlighting, errors as you type, fork any library warrior and run it in one tap.
Arena
1 to 36 warriors per match, pMARS placement and scoring, adjustable core size, cycles, rounds and seed. Replay any match with its seed.
Core view
Every cell is a pixel coloured by its owner; speed from 1 to 1000 turns per second or single steps.
Saves and sharing
Matches are auto-saved and resumable. Export warriors as pMARS-compatible .red and matches as .cdsave.
Learn
An interactive tutorial from the Imp to p-space switchers and a complete Redcode manual, in English, Русский, Español, Deutsch and Français.
Offline and private
No accounts, no ads, no tracking, no network. Everything stays on your device.

Tip the developer

If you want to tip the developer, use one of the methods below. It won't change anything in the app, but it will help the developer.

Documentation

Manual (English) Справка (Русский) Manual (Español) Handbuch (Deutsch) Manuel (Français)

Tutorial (English) Обучение (Русский) Tutorial (Español) Tutorial (Deutsch) Tutoriel (Français)