Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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!)

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)