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

https://github.com/influxow/php-project-lvl1

Simple Math Games on PHP
https://github.com/influxow/php-project-lvl1

binary game math php

Last synced: 3 months ago
JSON representation

Simple Math Games on PHP

Awesome Lists containing this project

README

        

# Simple Math Games

[![Maintainability](https://api.codeclimate.com/v1/badges/970cce56722e33c9bf71/maintainability)](https://codeclimate.com/github/InfluxOW/php-project-lvl1/maintainability)
[![Build Status](https://travis-ci.org/InfluxOW/php-project-lvl1.svg?branch=master)](https://travis-ci.org/InfluxOW/php-project-lvl1)

Description: https://ru.hexlet.io/professions/php/projects/45

$ installation process
[![asciicast](https://asciinema.org/a/Mqf9aZRDHcabJA3dGhDrdYmUW.svg)](https://asciinema.org/a/Mqf9aZRDHcabJA3dGhDrdYmUW)\
$ brain-calc game\
[![asciicast](https://asciinema.org/a/v6UjP6yW1y1yFOUfNn1wF74Xw.svg)](https://asciinema.org/a/v6UjP6yW1y1yFOUfNn1wF74Xw)\
$ brain-even game\
[![asciicast](https://asciinema.org/a/Rv3YccaXH9oUtOuuqS9F14AZu.svg)](https://asciinema.org/a/Rv3YccaXH9oUtOuuqS9F14AZu)\
$ brain-gcd game\
[![asciicast](https://asciinema.org/a/dZ7gggCImuOirHqSOQiirh2nz.svg)](https://asciinema.org/a/dZ7gggCImuOirHqSOQiirh2nz)\
$ brain-prime game\
[![asciicast](https://asciinema.org/a/Ek6msGuEHwKIaOskZqn93HjuC.svg)](https://asciinema.org/a/Ek6msGuEHwKIaOskZqn93HjuC)\
$ brain-progression game\
[![asciicast](https://asciinema.org/a/sa6lEOsh1kCkdKEKUULFxbeTo.svg)](https://asciinema.org/a/sa6lEOsh1kCkdKEKUULFxbeTo)\
$brain-root additional game\
[![asciicast](https://asciinema.org/a/w1b7sHoTxtvs8Q8koHyTfQzyd.svg)](https://asciinema.org/a/w1b7sHoTxtvs8Q8koHyTfQzyd)\
$ brain-random feature\
[![asciicast](https://asciinema.org/a/32Bf5qrGvvmR4PvIOtfRKkFBx.svg)](https://asciinema.org/a/32Bf5qrGvvmR4PvIOtfRKkFBx)

## How To Install
`composer global require influx/php-project-lvl1`
## How To Run A Game
run `brain-games` and then type game name
## Games List With Description
1. *calc*\
Find the result of the expression.
2. *even*\
Answer "yes" if given number is even, otherwise answer "no".
3. *gcd*\
Find the greatest common divisor of given numbers.
4. *prime*\
Answer "yes" if given number is prime, otherwise answer "no".
5. *progression*\
Find number that is missing in the progression.
6. *root*\
Find an integer whose square is closest to the given number.
## Options
brain-games --random run random game
brain-games --list show list of games with their missions
brain-games --help show help