Skip to content

kitXIII/python-mini-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability

Console logical mini-games brain-games

Requirements

  • Python >= 3.10
  • Poetry
  • make

Installation

To install

  1. clone repo
  2. run
    • $ make install
    • $ make build
    • $ make package-install

To uninstall

run $ make package-uninstall

Even number

The user must answer whether given number is even or not?

Command to start the game: $ brain-even

Calculator

The user must enter the result of the mathematical expression.

Command to start the game: $ brain-calc

Greatest common divisor

The user must calculate and enter the greatest common divisor of two numbers

Command to start the game: $ brain-gcd

Arithmetic progression

The user must enter the missing part of the sequence of numbers, which is an arithmetic progression.

Command to start the game: $ brain-progression

Prime number

The user must answer whether given number is prime or not?

Command to start the game: $ brain-prime

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published