Skip to content

Pig-Game is a mini javascript project. This project illustrates the use of DOM manipulation.

Notifications You must be signed in to change notification settings

Priyank31/Pig-Game-using-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pig-Game

  • Pig Game is a mini project on Javascript.
  • This project illustrates the use of DOM manipulation in Javascript.
  • More about Dom Manupulation

About The Game

  • Pig game is a simple 2 player game where players have to score points by rolling a dice.
  • Player can roll dice any number of times and the tally will be added to the current score.
  • But if a player roll a '1' then the player loses the current score and also loses his/her turn.
  • Player can use 'Hold' option to add the current score to their final score and pass the turn.
  • First player to score 100 points wins the game.
  • More about the Pig Game

About

Pig-Game is a mini javascript project. This project illustrates the use of DOM manipulation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published