Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kazvee/two_player_game

๐Ÿงฎ 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! ๐Ÿ“บ
https://github.com/kazvee/two_player_game

game object-oriented-programming oop readme ruby

Last synced: 3 days ago
JSON representation

๐Ÿงฎ 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! ๐Ÿ“บ

Awesome Lists containing this project

README

        

# ๐Ÿงฎ 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](docs/Two_Player_Game_Screenshot.png)

## 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](https://github.com/kazvee) as part of my learnings at [Lighthouse Labs](https://www.lighthouselabs.ca/en/web-development-flex-program).

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