EMARS
A user-friendly Memory Array Redcode Simulator for getting into Corewars!
Install / Use
/learn @dora-explora/EMARSREADME
eMARS
A user-friendly Memory Array Redcode Simulator for getting into Corewar!
<img style="width: 40%" alt="A grid of many grey and red squares" src="screenshot.png"/>Installation and Usage
Clone the repository with git, install Rust, and run cargo r -- [warrior1] [warrior2] [coresize] in the repository.
If you're on Linux, you can just use the executable in the release.
The program can take in 3 arguments: the filepath to the first warrior, the filepath to the second, and the size of the core (optional). For example, you could run the program with cargo r -- warriors/littlefactory.red warriors/scanner1.red 8000 to run two of the example warriors with a core of 8000 instructions.
Once in the program, use the step or play button to run the match! When using the play button, the match will stop automatically once there is only one warrior or once the step limit (coresize * 10) is reached. You can use the slider below the play button to adjust the amount of milliseconds per each step when playing.
I've also included a complete guide to Redcode by Ilmari Karonen at vyznev.net in Redcode Guide.pdf as an easy way to begin learning about Redcode! (and since the site is now down, it also doubles as preservation)
Related Skills
node-connect
340.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.1kCommit, push, and open a PR
