ArtPoon / spacewar-js

JavaScript implementation of the DOS game SpaceWar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacewar-js

Spacewar! was one of the earliest video games ever made. Although it was originally implemented on the PDP-1, many of us grew up playing a more recent implementation in DOS. This repo is a hobby code project to make a similar game using the JavaScript framework matter-js.

It is currently a two-player game. I'm not sure how I'd implemented an AI yet.

You can play it at http://artpoon.github.io/spacewar-js

Controls

Action Ship 1 Ship 2
Rotate counter-clockwise a k
Rotate clockwise d ;
Thrust s l
Phasers q i
Photon torpedos e p
Divert energy from shields z ,
Increase energy to shields c /
Hyperspace pending pending
Engage cloak pending pending

About

JavaScript implementation of the DOS game SpaceWar

License:MIT License


Languages

Language:JavaScript 99.9%Language:HTML 0.1%Language:Shell 0.0%