GithubHelp home page GithubHelp logo

frontend-project-lvl1's Introduction

Hexlet tests and linter status:

Actions Status Maintainability Linter

Welcome to the Brain Games!

Done as part of a project on Hexlet. Technology stack: Node.js, Commander.JS, npm, ESLint (airbnb), Prettier, Git, GitHub, GitHub Actions.

Description:

This repository contains sources code my first project: "Brain games". Brain games - this is a game which you win after 3 correct answers. Good luck!

How to install:

  1. Make sure you have installed Node.js no lower version 12: node -v;
  2. Clone repository: [email protected]:Kalifull/frontend-project-lvl1.git;
  3. Change directory to frontend-project-lvl1;
  4. Run the command: make install;
  5. Run the command: npm link.
$ git clone [email protected]:Kalifull/frontend-project-lvl1.git
$ cd frontend-project-lvl1
$ make install
$ nmp link

Games decription:

  • brain-games - The game just greets the user;
  • brain-even - You are shown a random number. You must answer "yes" if the number is even, or "no" if it is odd;
  • brain-calc - The simple calculator game;
  • brain-gcd - Find greatest common divisor of 2 numbers;
  • brain-progression - Find missing number in progression;
  • brain-prime - Define is number prime.

Games demonstration:

1. Brain-even

The player is shown a random number. He needs to answer yes if the number is even, or no if it is odd.

asciicast

2. Brain-calc

The player is shown a random mathematical expression that needs to be calculated and the correct answer written down.

asciicast

3. Brain-gcd

The player is shown two random numbers, needs to find the greatest common divisor and write down the correct answer.

asciicast

4. Brain-progression

The player is shown a series of numbers forming an arithmetic progression. The random number is replaced by two dots. The player must determine this number.

asciicast

5. Brain-prime

The player is shown a random number. He needs to answer "yes" if the number is prime and "no" if not.

asciicast

frontend-project-lvl1's People

Contributors

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