33

Lord of the Strings - a CLI RPG

A turn-based RPG using 'rock paper scissors' mechanics. Venture into a dangerous land, retrieve a relic, and survive encounters with hostile inhabitants. Programmed by Udenna Nebeolisa & Nestor Venegas.

Lord of the Strings - a CLI RPG

Programmed by Udenna Nebeolisa & Nestor Venegas

Demo: Watch the Demo

Description

Lord of the Strings is a turn-based RPG using “rock paper scissors” mechanics. Your mission is to beat all enemies and clear all stages without your health reaching 0. The story unfolds in a land of object orientation where your character is tasked with venturing into a dangerous land to retrieve a relic. Beware of the hostile inhabitants you encounter on your journey.

Gameplay

The gameplay is straightforward:

  • Navigate through different selections with the up and down arrow keys.
  • Press Enter to select an option.
  • During dialogue sequences, choose to read or skip and press Enter to proceed.

Features

Fully Functioning Main Menu

  • Start the game.
  • Access "How to Play" for gameplay instructions.
  • View "Credits."
  • Close the application.

Fully Functioning Combat Mechanics

  • Players and enemies have health that can deplete.
  • Displays player health.
  • Ends combat when either the player or enemy has died.
  • "Rock, paper, scissors" combat mechanics.
  • Players can choose one of three attacks.
  • Enemy attacks are randomly generated.
  • Attacks are compared, and damage is dealt accordingly.

Structured Storyline

  • Introduction to set the stage.
  • The full game has 3 levels, each with its own titles & sets of dialogue to propel the story.
  • Game over ending and story completion ending.

How to Play

Clone this repository to your local machine, navigate to the project directory, and run the main Ruby file to start the game.

ruby main.rb