corewar

HTML5 & javascript implementation of the classic game [corewar](https://en.wikipedia.org/wiki/Core_War)

Usage no npm install needed!

<script type="module">
  import corewar from 'https://cdn.skypack.dev/corewar';
</script>

README

Node.js CI

Corewar

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.