nokobo/php-project-lvl1

Several mini-console games.

1.0.0 2020-01-03 12:57 UTC

This package is auto-updated.

Last update: 2024-04-29 04:27:07 UTC


README

Build Status Maintainability

Installation with Composer:

$ composer global require nokobo/php-project-lvl1

Description:

Several mini-console games. To win you need to answer three questions in a row.

List of games:

  • brain-even - specify if the number is even or not.
  • brain-calc - find the result of the expression.
  • brain-gcd - find the greatest common divisor of given numbers.
  • brain-progression - find a missed number in the progression.
  • brain-prime - specify if the number is prime or not.

How to run and play:

$ brain-even

asciicast

$ brain-calc

asciicast

$ brain-gcd

asciicast

$ brain-progression

asciicast

$ brain-prime

asciicast