Skip to content

Simple math game set “Brain Games” (educational project for Hexlet)

Notifications You must be signed in to change notification settings

drowsycoder/python-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple math game set “Brain Games”

Actions Status Actions Status Maintainability

This repository represents a simple math-quiz game set called “Brain Games” as an educational project on Hexlet that demands well-engineered project architecture and CI/CD (with automatic tests and publication).

The game set is based on a single engine module and includes 5 game modules:

  1. Calc game: Calculate the result of a simple arithmetic expression.
  2. Even game: Determine is a given number even or not.
  3. GCD game: Find the greatest common divisor of two numbers.
  4. Prime game: Determine is a given number prime or not.
  5. Progression game: Find the missing element in an arithmetic progression.

Installation and usage

Example of usage:

asciicast

Script name Short name (as defined in pyproject.toml) Corresponding game
brain_calc.py brain-calc Calc game
brain_even.py brain-even Even game
brain_gcd.py brain-gcd GCD game
brain_prime.py brain-prime Prime game
brain_progression.py brain-progression Progression game
brain_games.py brain-games Basic script

Technologies and tools

Tool Description
GitHub Actions "Automate your workflow from idea to production"
dillinger "Cloud-enabled, mobile-ready, offline-storage, AngularJS powered HTML5 Markdown editor"
makefile "A build automation tool that automatically builds executable programs and libraries from source code by reading files called Makefiles which specify how to derive the target program"
poetry "Python dependency management and packaging made easy"
Test PyPi "Test Python package publishing with the Test Python Package Index"
wemake-python-styleguide "The strictest and most opinionated python linter ever"

About

Simple math game set “Brain Games” (educational project for Hexlet)

Topics

Resources

Stars

Watchers

Forks