Giter VIP home page Giter VIP logo

brain-games's Introduction

Brain Games

Actions Status Maintainability local-linter

Description:

"Brain Games" is a set of five console games inspired by popular mobile brain-pumping apps. Each game asks questions to be answered correctly. Once three correct answers are given, the game ends. Incorrect answers end the game and prompt you to play it again. The games are:

  • Calculator. Calculate random arithmetic expressions
  • Progression. Find missing numbers in a number sequence
  • Determining an even number
  • Determining the greatest common divisor
  • Determining a prime number

Installation:

  1. Clone this repository to your filesystem
https://github.com/bohdanyezhlov/frontend-project-lvl1.git
  1. Go to the created directory named frontend-project-lvl1

  2. Create links to run games locally

npm link

Demo:

Game: "Calculator"

The user is shown a random math expression, such as 35 + 16, which they must calculate and enter the result.

asciicast

Game: "Is Even?"

The user is shown a random number, and they should answer "yes" if the number is even, or "no" if it is odd.

asciicast

Game: "GCD"

The user is shown two random numbers, such as 25 and 50. They must calculate and enter the greatest common divisor of these numbers.

asciicast

Game: "Arithmetic Progression"

The user is shown a number series that forms an arithmetic progression, with any one number replaced with two dots. The user must figure out the hidden number.

asciicast

Game: "Is Prime?"

The user is shown a random number. They need to answer "yes" if the number is prime, or "no" if it is not prime.

asciicast

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.