Skip to content

artiko88/python-project-49

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability

brain-games

This is a ready to use python based application that consists of five simple brain-games. Each game allows 3 tries. All of the tries should be succesful in order for the player to win. When player enters a wrong answers, games stops and player has to run it again.

Short description of all games:

  • brain-even - player is presented with a random number and should answer 'yes' if the presented number is even or 'no' if it is not.
  • brain-calc - a simple arithmetic expression is presented and player has to enter the solution. The game randomly chooses two numbers and wether to perfrom multiplication, summation or subtraction.
  • brain-gcd - two numbers are presented and player has to enter greatest common divisor.
  • brain-progression - a progression of numbers is presented and player has to enter a missing one that fits into the progression logic.
  • brain-prime - a random number is presented and player has to answer wether the number is prime or not.

Minimal requirments: python 3.8+ Poetry 1.2.2

Build and installation process: git clone https://github.com/artiko88/python-project-49.git

To install the projectwith all dependencies: make install

To build wheels: make build

To install package with poetry scripts: make package-install

Build and installation asciinema: asciicast

Link to brain-even asciinema: asciicast

Link to brain-calc asciinema: asciicast

Link to brain-gcd asciinema: asciicast

Link to brain-progression asciinema: asciicast

Link to brain-prime asciinema: asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published