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

Folders and files

NameName
Last commit message
Last commit date
Feb 12, 2020
Jan 25, 2020
Feb 20, 2020
Nov 20, 2017
Feb 20, 2020
Feb 20, 2020
Nov 20, 2017
Jan 19, 2020
Dec 2, 2017
Nov 17, 2017
Nov 21, 2017
Feb 29, 2020
Feb 15, 2020
Sep 3, 2018
Jan 19, 2020
Feb 1, 2020
Jan 30, 2020
Dec 13, 2017

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.