An open API service indexing awesome lists of open source software.

https://github.com/cristianoliveira/knight_game

The game of knights
https://github.com/cristianoliveira/knight_game

Last synced: 7 months ago
JSON representation

The game of knights

Awesome Lists containing this project

README

          

# The game of knights
There are 6 knights that are stading in a circle and fighting each other.

- Each knight has a name (or id) and stars with 100 HP
- The knights only can attack the oponent that is in front of them.
- The damage is a random number between 1..6.
- The last kinght that survive is the winner.

# Running
Before each do `npm run build`

Terminal
```
npm run game
```

Web
```
npm run server
```

# Testing
```
npm run test
```