Corewars
A Rust implementation of Core Wars
Install / Use
/learn @corewa-rs/CorewarsREADME
corewars
A Rust implementation of the classic programming battle game Core Wars.
The implementation is based on this introductory guide to Redcode, as well as the pMARS '94 reference and an annotated version of the ICWS '94 draft.
Quick start (command line)
First install cargo via rustup.
$ cargo install corewars
...
Installed package `corewars v0.2.0` (executable `corewars`)
$ ~/.cargo/bin/corewars --version
corewars 0.2.0
Cargo Crates
Latest documentation (incomplete) is published from develop, with older version docs available on docs.rs.
- corewars: the binary to run Core Wars from the command line.
- corewars-core: data structures and utilities common to other crates (such as the representation of a "core").
- corewars-parser: the parser used to read and error-check Redcode files. Output from this crate will be used as input for the MARS simulation itself.
- corewars-sim: simulation of a core. This is the main logic used to pit warriors against one another (the MARS).
Other tools
- A VSCode syntax highlighting plugin for Redcode
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate 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
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
