integralik/braingames.localhost

v1.8.3 2020-09-02 12:11 UTC

This package is auto-updated.

Last update: 2024-04-29 04:33:56 UTC


README

68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39643130333164613330653765623330633439302f6d61696e7461696e6162696c697479

badge.svg

With this project you can play BrainGames on your computer. When you start the game and enter your name, you see the rules of the game. You have three tries. If you are incorrect, you lose. If you are correct three times in a row, you win.

To install this project on your computer, you need Linux or MacOS. Also you need PHP 7 and Composer installed.

Setup

$ composer global require integralik/braingames.localhost

The global composer directory for your user has to be added to the PATH. For example:

$ export PATH="/home/username/.config/composer/:$PATH"

After that restart your session.

BrainEven game

To play the game, enter

$ brain-even

You have to decide whether the number is even (answer "yes") or not (answer "no"). Any other answer will also be incorrect.

68747470733a2f2f61736369696e656d612e6f72672f612f34396f6d6544364d5873497863714d47353671616c6f3479472e737667

BrainCalc game

You have to calculate the result of the mathematic expressions.

68747470733a2f2f61736369696e656d612e6f72672f612f7136574f64574243626c6141534846595155773158786836692e737667

BrainGCD game

You have to calculate the great common divisor of two numbers.

68747470733a2f2f61736369696e656d612e6f72672f612f3372446d7172374f6e62524e4a624e6c346e70695a55624a782e737667

BrainProgression game

You have to fill the omission in arithmetic progression.

68747470733a2f2f61736369696e656d612e6f72672f612f34767971383361446c675254775778374e4146736e574b766c2e737667

BrainPrime game

You have to decide whether the number is prime or not.

68747470733a2f2f61736369696e656d612e6f72672f612f6c57627a33494f384b576c6e744f6c38494434446b5a4e30712e737667