nil3sh99 / Pig_Game

🎲 DOM manipulation Game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Pig_Game

First Javascript Game This is a purely DOM manipulation game. Game Rules :

  1. Player 1 is set as default player.
  2. When dice is rolled then that number on dice is recorded as a score in active, And if the player wants to store his/her score then he has to hit the hold button, and the score is stored.
  3. If in the process, 1 is shown up, then active score is lost and the die is shifted to the other player.
  4. First player reaching the score of 100, is declared winner.

To play the game:

Import all the files on your desktop and from the Pig_Game folder menu, open up the index.html file.

About

🎲 DOM manipulation Game


Languages

Language:JavaScript 42.8%Language:CSS 37.2%Language:HTML 19.9%