alshad/brain-games

First project of PHP programmer course

v0.7.4 2020-02-07 11:53 UTC

This package is not auto-updated.

Last update: 2024-04-27 09:11:10 UTC


README

Build Status Maintainability

Install

$ composer global require alshad/brain-games

https://asciinema.org/a/gzyzMnbBPx22lqknUtFQO8IyW

Game

"Parity check"

Run game

$ brain-even
Winning game
https://asciinema.org/a/b0mebynPE5j3meFzGOiWkyeTC
Lost game
https://asciinema.org/a/IogrH8Xv3rvbIwfBM3s2hybWT

"Simple calculations"

Run game

$ brain-calc
Winning game
https://asciinema.org/a/Cxl6E0gnvPQO7pNIFw1RLF0GC
Lost game
https://asciinema.org/a/fb4Au0j65cHnWaTE9IcXsktSy

"The Greatest common factor (GCD)"

Run game

$ brain-gcd
Winning game
https://asciinema.org/a/87DpQgQyC16MV2D7WN2svQt6X
Lost game
https://asciinema.org/a/4w2PuLJd16CDcbWbWxvsCgeza

"Arithmetic progression"

Run game

$brain-progression
Winning game
https://asciinema.org/a/f44vBZc3ehIt6dCjCddiWxbg7
Lost game
https://asciinema.org/a/stnjD4Nngzcir4T1lSLggNxXv

"Prime Number"

Run game

$ brain-prime
Winning game
https://asciinema.org/a/20ZxMjoNOec8N4NlatanMRP6w
Lost game
https://asciinema.org/a/oCvTTwW69qDJozminwXQ1l44c