Giter VIP home page Giter VIP logo

frontend-project-lvl1's Introduction

brain-games

Maintainability

This is the first project from Hexlet Frontend Program.

Demonstration of brain-games on Replit

Five simple CLI games:

  1. Is Number Even?
  2. Calculator
  3. Greatest Common Divisor
  4. Arithmetic Progression
  5. Is Number Prime?

Give correct answer 3 times in a row to win.

Installing:

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

  2. Create links to run games locally

npm link

If you want then to delete games just type npm unlink in the same folder.

Running:

1. Is Number Even?

Tell if a given number is even or not.

To run:

brain-even
brain-even gameplay

asciicast

2. Calculator

Calculate a given arithmetic expression.

To run:

brain-calc
brain-calc gameplay

asciicast

3. Greatest Common Divisor

Find a greatest common divisor for two numbers.

To run:

brain-gcd
brain-gcd gameplay

asciicast

4. Arithmetic Progression

Find a missing number in a given sequence.

To run:

brain-progression
brain-progression gameplay

asciicast

5. Is Number Prime?

Tell if a given number is prime or not.

To run:

brain-prime
brain-prime gameplay

asciicast

frontend-project-lvl1's People

Contributors

dependabot[bot] avatar dpetrouk 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.