This is a set of simple console games.
- Clone project.
- Open terminal
cd
to project folder- Run command
make setup
Check the number is even.
- Terminal:
brain-even
- Type your name.
- Then answer if number is even 'yes' otherwise 'no'.
For example:
Calculate two numbers.
- Terminal:
brain-calc
- Type your name.
- Then type correct answer of math expression
For example:
Find the greatest divisor.
- Terminal:
brain-gcd
- Type your name.
- Find the greatest common divisor of given numbers
For example:
Find the missing number.
- Terminal:
brain-progression
- Type your name.
- What number is missing in the progression?
For example:
Check the number prime.
- Terminal:
brain-prime
- Type your name.
- Answer "yes" if given number is prime. Otherwise answer "no".
For example: