2020.0.13 • Published 6 years ago

@germainbergeron/blitz-ui v2020.0.13

Weekly downloads
-
License
-
Repository
-
Last release
6 years ago

Blitz 2020 UI

Blitz 2020 UI application

The UI is split in 3 different applications:

  • Viewer
  • HumanBot
  • Replay

Viewer

The viewer automatically connects on the websocket and stream the game. No interaction are possible.

HumanBot

The human bot connects to the server and register as a player. It can be usefull if you want to try to beat your own bot or if you want to test some scenarios more easily. Use the arrow key to move.

Replay

The replay loads a file and mimic the streaming of the game. You can interact with the replay via some shortcuts:

  • Space: pause/un-pause the game
  • Z: go to game start
  • X: go to game end
  • , (Comma): go back one tick
  • . (Period): go forward one tick
  • 1-5: set replay speed

Instructions

NodeJs must be installed on your system

> npm install
> npm start

Then you can open

Tests

You can run tests using npm test. Tests are located in the src/**/tests folder. Coverage will be run automatically and you can see the html report if you open the coverage/index.html file

TODOs

  • Game elements

    • Show Asteroids
    • Show Planet
    • Show Blitzium
    • Show Black holes
  • Stats

    • Show scores
    • Show player names
    • Additionnal stats (nemesis, kill count, suicide count, etc)
2020.0.13

6 years ago

2020.0.12

6 years ago

2020.0.11

6 years ago

2020.0.10

6 years ago

2020.0.9

6 years ago

2020.0.8

6 years ago

2020.0.7

6 years ago

2020.0.6

6 years ago

2020.0.5

6 years ago

2020.0.4

6 years ago

2020.0.3

6 years ago

2020.0.2

6 years ago

2020.0.1

6 years ago

2020.0.0

6 years ago