Skip to content

akshatjain-akj/Divide-Game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIVIDE-GAME

This is a simple but interesting game.

Rules of the game

In this game, there is a 3x3 grid which is empty initially. Below that there are 3 numbers in a sequence. You can only drag the rightmost one. If you place the number adjacent to any number in the grid, and if one is divisible by the other , then the smaller among them vanishes and the larger one becomes the quotient.

For example, If the two numbers are 6 and 12, then 6 vanishes and 12 becomes 2.

The score gets updated as the game progresses.

When the grid is filled and no number can be reduced , the game gets over.

Also, there is a blank box in the bottom where you can keep the number from the sequence for some time and drag it to the grid whenever you want.

How to access it?

Clone the repository and open the index.html page. Else you can see the project at https://baidi-mannan.github.io/Divide-Game/

Issues

There is a lot to contribute to this game. Some of them are:

  1. Option for changing the theme.(different colors).
  2. There are some bugs in the logic of the code.
  3. Add the Rule at the beginning of the game.

You can join the conversation here https://join.slack.com/t/dividehq/shared_invite/zt-jq2entbq-efsFhsZMJhOtYwsz~P0pig

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.4%
  • CSS 31.3%
  • HTML 13.3%