Giter Site home page Giter Site logo

brain-games's Introduction

Hexlet tests and linter status:

Actions Status

Maintainability

github-actions-test

Brain games

There are 5 games. In each game you need to answer 3 questions.
If you answer the questions correctly 3 times in a row - you win game!
If you gave at least one wrong answer - the game will end and you can start over.

How to set up the game:


1. Clone this repository.
2. Go to directory frontend-project-lvl1.
3. Enter the command: make install.
4. Enter the command: npm link.
5. To start the game, enter the command:

  • Brain-even game - make brain-even
  • Brain-calc game - make brain-calc
  • Вrain-gcd game - make brain-gcd
  • Brain-progression game - make brain-progression
  • Brain-prime game - make brain-prime

Brain-even game


In this game you need answer 'yes' if number is even and 'no' if number is not even.

asciicast

Brain-calc game


In this game you need to calculate the correct answer of the expression and write it down in the answer.

asciicast

Вrain-gcd game


In this game two random numbers are displayed and you need calculate and enter the greatest common divisor of these numbers.

asciicast

Brain-progression game


In this game you need to guess the number, skipped in arithmetic progression.

asciicast

Brain-prime game


In this game you need answer 'yes' if number is prime and 'no' if number is not even.
A prime number is a number greater than 1 with only two factors – themselves and 1.

asciicast

brain-games's People

Contributors

shamilist avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.