Skip to content

gueletk/lighthouse_exercise_math_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Oriented exercise in Ruby

This small program was an assignment for Lighthouse Labs. The objective was to create a two-player math game using classes. The UI for this game is the terminal/console.

In order to try this game out, you need to have Ruby installed.

Clone this repository, open your terminal, and cd into the folder that contains the repository.

Then you can run

$ruby main.rb

This will prompt you for the name of the two players and the desired game difficulty. After this, the two players will take turns answering math questions until one player runs out of lives. Have fun!

About

Short OOP exercise in Ruby for Lighthouse Labs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages