Skip to content

DimaKichigin/frontend-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain Games

This is my first frontend project on Hexlet. Brain Games is a set of five console games designed to improve brain function. Each game asks questions that need to be answered. After three correct answers, the game is considered to be completed. Wrong answers end the game and go through it again.

Hexlet tests and linter status:

Actions Status example workflow

Installation

Install the latest Node.js globally on the system. Clone the created project repository locally. Install the dependencies (make install) Launch the games (commands in the description of the games)

How to play

These are five console games. To see the greeting, type the command make brain-games To choose one of them, type make brain-even, make brain-calc, make brain-gcd, make brain-prime or make brain-progression in your console. Answer the questions correctly to win the game, maybe sometimes you need to think a little.

image

$ make install
$ make lint
$ make publish

Brain-even

Determining whether the proposed number is even.

image

asciicast

Brain-calc

Solution of the proposed arithmetic problem.

image

asciicast

Brain-gcd

Finding the greatest common divisor of two given numbers.

image

asciicast

Brain-progression

Numerical progression. Search for missing numbers in a sequence of numbers.

image

asciicast

Brain-prime

Determine if the given number is prime.

image

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published