/php-project-45

Brain-games is a project with 5 math games. The project is written in PHP 8.3. Games: calculator, least common factor, even or odd, progression, prime.

Primary LanguagePHP

Brain-games

Actions Status Maintainability

About

Brain-games is a project with 5 math games. The project is written in PHP 8.3. The project is modular and does not use OOP. You can also look at how the game plays out, with different game outcomes, using the links below.

Prerequisites

  • Linux, MacOS, WSL
  • PHP >=8.3
  • Composer
  • Make
  • Git

Install

git clone https://github.com/NikolaiProgramist/php-project-45.git
cd php-project-45
make install

Play

To run the game, use make and the name of the desired game.

For example:

make brain-even

Asciinema

Game brain-even

asciicast

Game brain-calc

asciicast

Game brain-gcd

asciicast

Game brain-progression

asciicast

Game brain-prime

asciicast