This is a two player game, built in Ruby using using OOP (Object Oriented Programming) principles.
Players begin the game with 3 lives each, and take turns answering simple math addition problems. A wrong answer will deduct 1 life. The game ends when only 1 player has lives remaining.
Screenshot of Game Flow:
Have you ever wished you could play a math game?
How about one that runs right in your terminal?
Something that challenges you by deducting a life for any wrong answers?! ๐ค
Now, you can! ๐ฎ
And it's ๐SO EASY๐ to get started!
Get ready to MATH with this emoji-filled game that'll challenge you with simple addition problems over and over and over and over and-- until you just can't MATH anymore! ๐
You're probably thinking, 'this game only comes with 1 life', right? ๐ค
Wrong! ๐ฒ
๐ฌ We will send you:
โ Not 1 life
โโ Not 2 lives
But 3 lives -- that's right!
โ
โ
โ
3 Lives โ
โ
โ
At no extra cost to you! ๐
๐ BUT WAIT, THERE'S MORE!
We know this offer is already pretty good -- but we want to make it even better! ๐
This game welcomes TWO players! ๐คฉ
๐งฎ Let's break down the pricing:
If 1 game for 1 player is FREE... ๐ค
Does that make 1 free game for 2 players...
DOUBLE FREE โโโ๐คฏ
๐ฎ Download and play today! ๐น๏ธ
Our developer is standing by had too much coffee โจlovesโจ writing ReadMe files! ๐
This project was created by me as part of my learnings at Lighthouse Labs.
Ruby version 3.1.1 was used during app development & testing.
- Fork this repository to your own Github account.
- Clone your fork onto your local device.
- From the project root folder in your terminal, start the game using the
ruby main.rb
command. - To exit the game, press
Ctrl+C
- Have fun! ๐