Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/katiechurchwell/robot-gladiators
A browser-based JavaScript video game (be warned, lots of prompts!)
https://github.com/katiechurchwell/robot-gladiators
game javascript
Last synced: 3 days ago
JSON representation
A browser-based JavaScript video game (be warned, lots of prompts!)
- Host: GitHub
- URL: https://github.com/katiechurchwell/robot-gladiators
- Owner: katiechurchwell
- Created: 2021-11-15T21:09:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-14T22:09:27.000Z (over 2 years ago)
- Last Synced: 2024-10-12T12:14:35.267Z (about 1 month ago)
- Topics: game, javascript
- Language: JavaScript
- Homepage: https://katiechurchwell.github.io/Robot-Gladiators/
- Size: 1.39 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Robot Gladiators
[![project-languages-used](https://img.shields.io/github/languages/count/katiechurchwell/Robot-Gladiators?color=important)](https://github.com/katiechurchwell/Robot-Gladiators)
[![project-top-language](https://img.shields.io/github/languages/top/katiechurchwell/Robot-Gladiators?color=blueviolet)](https://github.com/katiechurchwell/Robot-Gladiatorsr)## Summary
![JavaScript](https://img.shields.io/badge/JavaScript_ES6-%23323330.svg?style=flat&logo=javascript&logoColor=%23F7DF1E)A browser-based game played through prompts.
### Game Sequence:
1. The game will prompt the player to name their robot.
2. The player's robot will be initialized with the following properties:
* 100 health points
* 10 attack points
* 10 money points
3. The player's opponent, Roborto, will be initialized with the following properties:
* 50 health points
* 12 attack points
4. The game will display "Welcome to Robot Gladiators!"
5. The game will prompt the player to either fight the round or skip it.
6. If the player chooses to skip:
* A penalty of 10 money points will be deducted from the player's robot.
* The game will end.
7. If the player chooses to fight:
* The player's robot will attack Roborto, and the player-robot's attack points will be deducted from Roborto's health points.
* The game will display Roborto's remaining health points.
* Roborto will attack the player's robot, and Roberto's attack points will be deducted from the player's robot's health points.
* The game will display the player-robot's remaining health points.
8. The game will end.## Deployment
katiechurchwell.github.io/Robot-Gladiators/## Demo
![Demo of Robot Gladiators](/demo.gif)## Questions
If you have any questions about this project, please open an issue or use the contact information below:
* [katiechurchwell](https://www.github.com/katiechurchwell)
* [[email protected]](mailto:[email protected])---
![](https://img.shields.io/badge/license-MIT-blue)