Action/tactics game in TypeScript
TypeScript CSS HTML Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
spec
.gitignore
LICENSE.md
README.md
arena.sh
badge.ts
clock.ts
color.ts
curve.ts
data_file.ts
dynamic_object.ts
enemy_spaceship.ts
game.ts
index.html
main.ts
package.json
player_spaceship.ts
polar_coordinate.ts
projectile.ts
renderer.ts
spaceship.ts
tsconfig.json
vector.ts

README.md

Arena Game

Install dependencies:

npm install

Build:

source ./arena.sh
tsc -p .

Unit test:

tsc -p spec/
jasmine

Play:

http://www.atanaslaskov.com/arena/

It is possible to play locally but you have to run a web server or the external .json files would not load in Chrome and some other browsers. It's fairly easy to do:

python3 -m http.server

Then you can play at localhost:8000.