Skip to content

BellatorJS/frontend-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability Testing_CI

This project includes set of five games. Each game has 3 questions. To win, you need to answer all three questions in a row. If you answer incorrectly, the game ends. Good luck!

🚀 Quick Start

  1. Clone a repository.

    $ git clone https://github.com/BellatorJS/frontend-project-lvl1.git
  2. Install dependencies.

    $ make install
  3. Print the game's name in terminal and press "Enter" to launch it.

    $ brain-even

List of the brain-games.

  1. Game: "Even check"

    $ brain-even
  • 📜 The game is generate a random number. You needs to answer "yes" if the number is even, or "no" if it is odd: asciicast
  1. Game: "Calculator"

    $ brain-calc
  • 📜 The aim of the game is as follows: the user is shown a random mathematical expression, for example 35 + 16, which must be calculated and the correct answer obtained. asciicast
  1. Game: "Greatest common divisor"

    $ brain-gcd
  • 📜 The aim of the game is as follows: the user is shown two random numbers, for example, 25 50. The user must calculate and enter the greatest common divisor of these numbers. asciicast
  1. Game: "Arithmetic progression"

    $ brain-progression
  • 📜 We show the player a series of numbers that form an arithmetic progression, replacing any of the numbers with two dots. The player must determine this number. asciicast
  1. Game: "Prime check"

    $ brain-prime
  • 📜 The game is generate a random number. You needs to answer "yes" if the number is prime, or "no" if it is composite.

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published