Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nealarch01/mental-math-go
Command line game that tests your mental math abilities! Utilizes Go concurrency.
https://github.com/nealarch01/mental-math-go
go golang
Last synced: 13 days ago
JSON representation
Command line game that tests your mental math abilities! Utilizes Go concurrency.
- Host: GitHub
- URL: https://github.com/nealarch01/mental-math-go
- Owner: nealarch01
- Created: 2022-07-06T09:32:47.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-11T08:29:33.000Z (over 2 years ago)
- Last Synced: 2024-06-21T00:03:44.949Z (7 months ago)
- Topics: go, golang
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Compile command: ```go build -o {executable_name} *.go``` or to run immediately ```go run main.go expr-queue.go expression.go```
A command line mental math game. You will be shown a math expression and must evaluate it.
Every 3 seconds, a new expression will be added into a queue, and once that queue exceeds the size of 12, it will be game over.
To win, you can answer fast to empty the queue or keep the queue size less than 12 for 60 seconds.
There are 3 levels to the game (1 - easy, 2 - medium, 3 - hard). The higher the level, the greater the operands.
Sample video: (sorry for the slow mental math skills in advance :sweat_smile:)
https://user-images.githubusercontent.com/73256760/177717531-65657700-accb-43ed-9075-175d844b310b.mov
The [C++ implementation](https://github.com/nealarch01/MentalMathCLIGame) of this project