Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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! ๐บ
- Host: GitHub
- URL: https://github.com/kazvee/two_player_game
- Owner: kazvee
- Created: 2023-10-16T21:04:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-04T02:08:55.000Z (about 1 year ago)
- Last Synced: 2025-01-12T17:59:13.805Z (24 days ago)
- Topics: game, object-oriented-programming, oop, readme, ruby
- Language: Ruby
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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! ๐