https://github.com/sylphux/bloody-ruby-oops
Mini terminal combat rpg game with hoards of vampires
https://github.com/sylphux/bloody-ruby-oops
game hoards rpg ruby terminal
Last synced: 3 months ago
JSON representation
Mini terminal combat rpg game with hoards of vampires
- Host: GitHub
- URL: https://github.com/sylphux/bloody-ruby-oops
- Owner: Sylphux
- Created: 2025-09-23T09:22:41.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-09-24T12:14:58.000Z (9 months ago)
- Last Synced: 2025-10-06T20:37:00.269Z (9 months ago)
- Topics: game, hoards, rpg, ruby, terminal
- Language: Ruby
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# bloody_ruby_OOPs
```
...... ....... ......... .......... .......... . ..
....@@@@@%........ ....... .. .......@@@@@@@@@.....
...@=::..+@@@@@@@@@@@@-...#@@@@@@@@@@#:.:+++#%%.....
..@%#++*%##-.. .......%@@:.......=*@@@*=-==@......
. ...@%#@=.@%@@++-%%@@@+%#@@@@++#@#@....@.@@........
.....=:.=.......@@+ .. @... ..@ ..@ .. @...... ....
.... .@-*..@=..... .....*. ...@....@ .-@.@.........
...... @...%@..@...... -......* ..+@. = .... ......
.........@%:@ .. @@....@@.:..:=@....@%@@...........
..........@+@........ ...... .... ..@@-..... .......
. . .... .. .... .................. ... ............
............. .. ...... ...... .. .@.......... ...
```
(These are vampire teeth... It's meant to be scary.)
## Project description
This project is about learning to use objects in ruby while crating a small fighting RPG.
There are 3 different programs :
### app.rb
automatically simulates a fight between two bots until one of them dies.
### app2.rb
This one is based on the above one, but features are introduced
- Adds a new category of player : HumanPlayer
- Allows the user to fight bots through strategic inputs
- allows user to define the number of ennemies
- The user can either
- heal
- fight
- upgrade weapon
- The combat continues until either the player or all of the ennemies die.
#### Speedrun
You can **spam enter** to make the program play by itself.
- Number of ennemies will be set between 1 and 6
- Username will be systems username
- The living ennemies will be attacked randomly
### app3.rb
This one is like the 2nd with some improvements :
- All the game code in refactored in the Game class
- New ennemies (creeps) and Bosses may appear !
- New welcome screen !
The game is still not balanced and will probably not be. It's programmed to be hard as is !
# Visual

Image is taken from app2.rb
# Compatibility
This program is made to run appropriately on linux systems
# Credits
This program is done within the cursus of The Hacking Project
The ascii is generated from the image https://www.youtube.com/watch?v=XxoOGyGJgUM