Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaivladimirv/php-project-lvl1
This is a set of five console games based on popular mobile brain training apps.
https://github.com/kaivladimirv/php-project-lvl1
hexlet php8
Last synced: 5 days ago
JSON representation
This is a set of five console games based on popular mobile brain training apps.
- Host: GitHub
- URL: https://github.com/kaivladimirv/php-project-lvl1
- Owner: kaivladimirv
- License: mit
- Created: 2022-08-09T05:55:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-12T03:29:06.000Z (about 2 years ago)
- Last Synced: 2023-02-23T14:13:23.667Z (over 1 year ago)
- Topics: hexlet, php8
- Language: PHP
- Homepage: https://ru.hexlet.io/programs/php/projects/45
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Actions Status](https://github.com/kaivladimirv/php-project-lvl1/workflows/hexlet-check/badge.svg)](https://github.com/kaivladimirv/php-project-lvl1/actions)
[![Maintainability](https://api.codeclimate.com/v1/badges/6a85cca81fd5662c8c25/maintainability)](https://codeclimate.com/github/kaivladimirv/php-project-lvl1/maintainability)
[![PHP Linter](https://github.com/kaivladimirv/php-project-lvl1/actions/workflows/workflow.yml/badge.svg)](https://github.com/kaivladimirv/php-project-lvl1/actions/workflows/workflow.yml)
## Brain games
This is a set of five console games based on popular mobile brain training apps. 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.It is a project of PHP courses from the [Hexlet](https://hexlet.io/) educational portal.
## Features
- Calculator. Arithmetic expressions to be evaluated.
- Progression. Search for missing numbers in a sequence of numbers.
- Definition of an even number.
- Finding the Greatest Common Divisor.
- Definition of a prime number.## Requirements
* PHP 8.0+
* Composer## Installation
```
$ git clone https://github.com/kaivladimirv/php-project-lvl1.git$ cd php-project-lvl1
$ make install
```
[![asciicast](https://asciinema.org/a/PghiRcbqU5vysfptRizVBNQvs.svg)](https://asciinema.org/a/PghiRcbqU5vysfptRizVBNQvs)## Usage
1. Definition of an even number.
```
$ make brain-even
```
[![asciicast](https://asciinema.org/a/8ONfjWWktfyLNSD5mHzZQI67H.svg)](https://asciinema.org/a/8ONfjWWktfyLNSD5mHzZQI67H)2. Calculator. Arithmetic expressions to be evaluated.
```
$ make brain-calc
```
[![asciicast](https://asciinema.org/a/gWR0Va2f6hjgYnpM4YfOGZ4cw.svg)](https://asciinema.org/a/gWR0Va2f6hjgYnpM4YfOGZ4cw)3. Finding the Greatest Common Divisor.
```
$ make brain-gcd
```
[![asciicast](https://asciinema.org/a/Q1lTm9HSmxQsuVMKOMx48D3O1.svg)](https://asciinema.org/a/Q1lTm9HSmxQsuVMKOMx48D3O1)4. Progression. Search for missing numbers in a sequence of numbers.
```
$ make brain-progression
```
[![asciicast](https://asciinema.org/a/TWpUdqEvdTvHbZZzcqHNAMagB.svg)](https://asciinema.org/a/TWpUdqEvdTvHbZZzcqHNAMagB)5. Definition of a prime number.
```
$ make brain-prime
```
[![asciicast](https://asciinema.org/a/SpE5xaA5u2V9elaDgvnBngDsd.svg)](https://asciinema.org/a/SpE5xaA5u2V9elaDgvnBngDsd)## License
The Bryan Games project is licensed for use under the MIT License (MIT).
Please see [LICENSE](/LICENSE) for more information.