Git Product home page Git Product logo

brain-games's Introduction

Tests, linter and Codeclimate status:

GitHub last commit GitHub Workflow Status Maintainability

Welcome to the Brain Games!

Description:

«Brain Games» is a set of five console games built on the principle of popular mobile brain-boosting apps. Each game asks questions that need to be answered correctly. After three correct answers, the game is considered to be completed.

  • Brain-even - determining an even or odd number
  • Brain-calc - сalculating of result for an expression
  • Brain-gcd - finding of greatest common divisor for given numbers
  • Brain-progression - searching for missing number in progression
  • Brain-prime - checking for a prime number
  • System requirements and Installation guide:

    Make sure you have Node.js and npm installed. To see if you already have Node.js and npm installed and check the installed version, run the following commands:

    node -v
    npm -v

    One of the following versions of Node.js must be installed to run npm:

    12.x.x >= 12.13.0
    14.x.x >= 14.15.0
    16.0.0 or higher

    If you are using Ubuntu based distributions, to install Node.js v18.x, run the following commands:

    curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
    sudo apt-get install -y nodejs

    To install the latest version of npm, run the following command:

    sudo npm install -g npm

    And finally, to install "Brain-games", simply use:

    git clone https://github.com/rmanzman/brain-games.git
    cd brain-games
    npm ci
    npm link

    To enjoy some fun, choose your game and run one of the following commands:

    brain-even
    brain-calc
    brain-gcd
    brain-progression
    brain-prime

    If you are still in doubt, just watch the exciting gameplay:

    Typing SVG asciicast

    Typing SVG asciicast

    Typing SVG asciicast

    Typing SVG asciicast

    Typing SVG asciicast

    brain-games's People

    Contributors

    rmanzman 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.