https://github.com/mohamedhegab/strike_game
Terminal role play ruby game
https://github.com/mohamedhegab/strike_game
game monster player room ruby
Last synced: 2 months ago
JSON representation
Terminal role play ruby game
- Host: GitHub
- URL: https://github.com/mohamedhegab/strike_game
- Owner: MohamedHegab
- Created: 2021-04-30T20:32:06.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-04T02:06:19.000Z (about 4 years ago)
- Last Synced: 2025-01-05T10:31:15.840Z (4 months ago)
- Topics: game, monster, player, room, ruby
- Language: Ruby
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Strike Game

## Description
Role play terminal game to spend your time in a better way.
When the player enters the game he will be in level 1 each level has three rooms each room has challenge in it. The player needs to pass all the three rooms to access the next level. The player can navigate freely from his level to previous levels. if the room has monster the passing of the room will be random.
## Prerequisites
- Ruby installed on the system
- Bundler installed on the system## How To Start
```bash
bundle install
ruby main.rb
```## About the Project
`main.rb` is the entrance file for the application which is calling the game init service and game start service. The project is tested with RSpec.
These are the relation between models in the application.

## Future Enhancements
- Increase the test coverage
Due to time constraint of the task didn't achieve 100% test coverage
- Implement database
So as the user may login and continue previous game
- Add strength to the player and monsters
Each level should have more stronger monsters, depending on the player strength the monster can be killed or beat the player
- Implement award system
Awards can be obtained after finishing a challenge
- Implement CI to run the test cases after each push