Skip to content

๐Ÿงฎ Two player math game which runs in the terminal. ๐Ÿ”ด Built with Ruby using OOP (Object Oriented Programming) principles. โœจ Includes a TV Infomercial style ReadMe, just for fun! ๐Ÿ“บ

Notifications You must be signed in to change notification settings

kazvee/two_player_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฎ TwO-O-Player Math Game

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.

Final Product

Screenshot of Game Flow:

Screenshot of Game Flow

Game Intro

๐Ÿ“บ As Not Seen on TV ๐Ÿ“บ

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! ๐Ÿ˜

Purpose

This project was created by me as part of my learnings at Lighthouse Labs.

Dependencies

Ruby version 3.1.1 was used during app development & testing.

Getting Started

  • 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! ๐Ÿ˜ƒ

About

๐Ÿงฎ Two player math game which runs in the terminal. ๐Ÿ”ด Built with Ruby using OOP (Object Oriented Programming) principles. โœจ Includes a TV Infomercial style ReadMe, just for fun! ๐Ÿ“บ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages