Skip to content

Typescript implementation of red code parser and core simulator for the classic game Corewar

License

Notifications You must be signed in to change notification settings

corewar/corewar

Repository files navigation

Node.js CI

Corewar

NOTE: This repository has been deprecated and moved to our new home in the monorepo at: https://github.com/corewar/corewar.io

Corewar

Typescript / Javascript implementation of the classic game corewar

Currently this project contains a redcode parser and core simulator.

In future we hope to include a corewar IDE with debugger, an interactive core simulation and a number of hills. The UI will be provided from this project https://github.com/corewar/corewar-ui

Getting Started

This project is published to NPM where it is intended to be used as a dependency for UI based projects who wish to use the corewar parser and simulator functionality.

To add it to your UI project, npm install corewar and then consume it via an import / require:

import { corewar } from 'corewar';

The corewar variable will initialise a new instance of the Api class ready for use.

Docs

The docs for this project are hosted on Read the Docs

API

API documentation is include in the docs: Read the Docs

Getting involved

We'd love your feedback, input and PR's. We're a friendly bunch, please contact us through GitHub with questions, suggestions and issues.