Skip to content

ola-9/brain-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math mini games

Actions Status Maintainability linter

🎉 CLI application represents 5 math mini games

Installation & Run

$ make install

run from the project root:

$ make brain-calc
$ make brain-even
$ make brain-gcd
$ make brain-progression

Features

  • math-calc to calculate arithmetic expressions (+/ -/ *)
  • brain-even to guess if given number is even
  • brain-prime to guess if given number is prime
  • brain-gcd to find the greatest common divisor of given numbers
  • brain progression to guess what number is missing in the progression

Overview

This app is my learning project from the Hexlet Frontend Developer course aimed to get hands-on experience with the following topics:

  • Programming fundamentals: functions, conditions, recursion, loops, arrays
  • Setup working environment: Node.js, REPL, VSCode, ESLint, Airbnb JS Style Guide
  • CLI: navigation, interface, system-level variables, grep, pipeline, chmod, chown, file management
  • git and GitHub: create/clone/pull repo, commit/amend/revert/reset, stash, gitignore
  • npm: dependencies, npx, install the app as global package, npm publish and link
  • CI: GitHub Actions

Demo

💥 Brain-progression

asciicast

💥 Brain-gcd

asciicast

💥 Brain-prime

asciicast

💥 Brain-even

asciicast

💥 Brain-calc

asciicast