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
- Host: GitHub
- URL: https://github.com/cristianoliveira/knight_game
- Owner: cristianoliveira
- License: mit
- Created: 2017-07-05T19:00:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T06:45:34.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T08:33:49.195Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.46 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```