Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A project that offers to play one of five simple maths text games 🧮

Notifications You must be signed in to change notification settings

Unshock/hexlet-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Status Linter Status

Brain-games study project for Hexlet.io

Description:

The project consists of 5 text brain-games:
Game Description
brain-even Player gets a number and should enter 'yes' if number if even,
otherwise player should enter 'no'
brain-calc Player gets an expression and should enter the result of calculation
brain-gcd Player gets two numbers and should enter the greatest common divisior
of the given numbers
brain-progression Player gets a row with the missing number and should enter that number
brain-prime Player gets a number and should enter 'yes' if that number is prime,
otherwise player should enter 'no'

Victory condition in every game is three right answers in a row

Brain-games install

The project exists only on github and for usage could be installed using pip command:

python3 -m pip install --user git+https://github.com/Unshock/python-project-lvl1.git

Brain-games run

Run of the games is carried out by the commands below:

brain-even
brain-calc 
brain-gcd
brain-progression
brain-prime

Asciinema demonstrations of install, win and loose of the games

asciicast asciicast asciicast asciicast asciicast

About

A project that offers to play one of five simple maths text games 🧮

Resources

Stars

Watchers

Forks

Packages

No packages published