Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ihalavin/brain-games
Set of five brain training games
https://github.com/ihalavin/brain-games
php
Last synced: 15 days ago
JSON representation
Set of five brain training games
- Host: GitHub
- URL: https://github.com/ihalavin/brain-games
- Owner: ihalavin
- Created: 2022-01-23T16:48:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-17T10:22:23.000Z (almost 3 years ago)
- Last Synced: 2024-12-18T19:54:33.948Z (29 days ago)
- Topics: php
- Language: PHP
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![PHP CI](https://github.com/ForeachQ/brain-games/actions/workflows/php-ci.yml/badge.svg)](https://github.com/ForeachQ/brain-games/actions/workflows/php-ci.yml)
# Brain Games
«Brain Games» — a set of five console games based on popular mobile brain training apps.
## Description
Each game asks questions that need to be answered correctly. After three correct answers, the game is considered to be
completed. Wrong answers end the game and offer to play it again.Games:
- Calculator. Arithmetic expressions to be evaluated.
- Progression. Search for missing numbers in a sequence of numbers.
- Definition of an even number.
- Determining the greatest common divisor.
- Definition of a prime number.## Requirements
- php 7.4
- composer 2.*## Installation
- Download package
```bash
composer create-project foreachq/brain-games
```- Install dependencies
```
make install
```## Usage
- Choose 1 game from list:
- Definition of an even number (brain-even)
- Calculator (brain-calc)
- Determining the greatest common divisor (brain-gcd)
- Progression (brain-progression)
- Definition of a prime number (brain-prime)- Run make command:
```
make
```## Asciinemas of gameplay
- [brain-even](https://asciinema.org/a/463960)
- [brain-calc](https://asciinema.org/a/464242)
- [brain-gcd](https://asciinema.org/a/464244)
- [brain-progression](https://asciinema.org/a/464267)
- [brain-prime](https://asciinema.org/a/464278)