Skip to content

vladalex01/RPG_Game2.0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RubyTextRPG - Our amazing adventure game

First of all, we want to thank Sava, Irina and Eugeniu, 2Performant's developers, for the useful feedback and wise suggestions

A short game description:

This is a game made by Narcis Chitescu, Catalin Dragutescu, Mihai Ionescu and Cristian Dogaru in August 2018 as interns at 2Performant. Its purpose was to learn Ruby and elegant programming by making a fun project.

The game starts with the hero (marked as X) positioned on the left corner of the map and the target is to reach the winning room marked with "W" on the map. Be careful, your hero can pass through lair-rooms where the monsters can kill him. Fortunately,the hero can attack, defend or run away. The hero has a certain amount of money when the game starts, but he can take the monsters' coins once he killed them. Across the map your character can find Shops or Vaults and refill his energy with potions or buy weapons and special equipment, he can also go to Hospital and get better after a fight. The game has other hidden rooms that wait to be opened. Good luck!

Here are some intructions to play the game.

The game requires Ruby, if you didn't use it, you can install it by apt-get install ruby or manual download. After that:

  1. Clone the repo in your pc.
  2. Open terminal(CTRL+ALT+T on Linux or PowerShell on Windows)
  3. cd to RPG_Game2.0
  4. Write "ruby play.rb"

alt text

  1. Your game should start, input your name

alt text

  1. Set desired difficulty

alt text

  1. Set map's size

alt text

The game should look like this

alt text

  1. You can move the map by using 'a', 's', 'd' and 'w' keys. Be careful at monsters!

  2. Here is a shop view

alt text

  1. Enjoy!
  2. Hope you reached the winning room which looks like this

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%