Skip to content

kat-git-hub/Math_Mastermind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌚 Code Climat and Linter status

Maintainability linter-check


🤔 Installation

  • Install poetry

  • Clone the project:

    $ git clone git@github.com:kat-git-hub/Math Mastermind.git

  • Cd into the directory with the project and run:

    make install

    make build

    make package-install


😎 Running

The project has five games:

  1. Calculator

    A random mathematical expression is shown, it needs to be calculated $ brain-calc

  2. Checks the even number

    A random number is shown, you need to answer 'yes' if the number is even, or 'no' if it is odd $ brain-even

  3. Is it a prime number?

    A random number, you need to answer 'yes' if the number is prime, or 'no' if not $ brain-prime

  4. GCD

    Find the greatest common divisor of two random numbers $ brain-gcd

  5. Arithmetic progression

    Find the missing number in Arithmetic Progression $ brain-progression

The user must give the correct answer to three questions in a row. After a successful game, it will be displayed: Congratulations!

If the user has an incorrect answer, it will be displayed: Let's try again!


🤓 View a demo

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published