Skip to content

Small logic games involving basic arithmetical operations and number properties. Project 1 of https://hexlet.io courses.

Notifications You must be signed in to change notification settings

AlexP11223/php-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintainability Build Status

Brain Games

Small logic games involving basic arithmetical operations and number properties. Each game consists of up to 3 rounds.

This is an educational project implemented during https://hexlet.io courses aimed at setting up the environment, getting familiar with some best practices and creating a good simple architecture.

Installation

  • Install PHP 7.2+ and Composer.
  • Run composer global require alexp11223/brain-games.
  • Make sure that the Composer global bin dir (composer global config bin-dir --absolute) is in your PATH.

asciicast

Usage

Run the following games:

  • brain-even
  • brain-calc
  • brain-gcd
  • brain-progression
  • brain-prime

brain-even

Answer whether the given number is even.

asciicast

brain-calc

Enter the result of the arithmetic expression.

asciicast

brain-gcd

Find the greatest common divisor of two numbers.

asciicast

brain-progression

Enter the number missing in the arithmetic progression.

asciicast

brain-prime

Answer whether the given number is prime.

asciicast

About

Small logic games involving basic arithmetical operations and number properties. Project 1 of https://hexlet.io courses.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published