Skip to content

Repository files navigation

Brain Games

Actions Status Maintainability Rating

Brain Games is a collection of five console games built on the principle of brain training. Each game asks a series of questions, and the player needs to give the correct answer. If they answer all questions correctly, they win.

Games

Even Number Check – determine if a number is even

Calculator – perform random arithmetic operations

Greatest Common Divisor – find the GCD of two numbers

Arithmetic Progression – guess the missing number in a progression

Prime Number Check – determine if a number is prime


Requirements

This project was built using these tools:

Tool Description
uv "An extremely fast Python package and project manager, written in Rust"
Pytest "A mature full-featured Python testing tool"
ruff "An extremely fast Python linter and code formatter, written in Rust"

Setup

git clone https://github.com/MetaSveta/python-project-49.git
cd python-project-49
make install
make build
make package-install

How to run

After installation, you can start any game directly from the terminal:

Even Number Check

make brain-even

Calculator

make brain-calc

Greatest Common Divisor

make brain-gcd

Arithmetic Progression

make brain-progression

Prime Number Check

make brain-prime

Demonstrations

Even Number Check

asciicast

Calculator

asciicast

Greatest Common Divisor

asciicast

Arithmetic Progression

asciicast

Prime Number Check

asciicast

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages