Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sanketmaru/timers

Timers in Javascript
https://github.com/sanketmaru/timers

Last synced: 4 days ago
JSON representation

Timers in Javascript

Awesome Lists containing this project

README

        

# timers

This repository contains a simple game on a grid where
a. User has to click on a grid for 3 seconds.
b. If User doesn't click in 3 seconds he loses
c. If he clicks , user has to click next grid cell with in 3 seconds.

The main purpose of the repo is to showcase the use of functions setTimeout , setInterval and clearInterval.
All three timer functions are used.

Grid and Timer functions are configurable where user has to just pass the number of grid rows and columns in grid.js.

The timer is also configurable and timeout in milliseconds can be passed to the timer.js