Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1004 Bytes

README.md

File metadata and controls

43 lines (35 loc) · 1004 Bytes

Guess the Number

A simple game for guessing numbers.

Getting Started

git clone https://github.com/ppalladino/guess-the-number.git

Play the game

Open /index.html in your browser and have fun!

Development Environment

The development environment uses Node.js to execute tooling: development server, transpiling, linting, unit testing, and, building.

  1. install Node.js.

  2. Install dependency packages and start the development server.

cd guess-the-number
npm install
npm run start
  1. View the application in your browser by navigating to http://localhost:8080.
  2. Any changes to source will hot reload the browser and automatically trigger a linting cycle.

Building

Game scripts are tested and then bundled into /dist

npm run build

Linting

Uses the airbnb eslint config

npm run lint

Unit tests

npm run test