GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - indremak/Pig-Game: 2-player dice rolling game implemented with Javascript

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
dice_img
dice_img
 
 
app.js
app.js
 
 
index.html
index.html
 
 
readme.md
readme.md
 
 
style.css
style.css
 
 

Repository files navigation

Pig Game

Click here to try the game

Pig game implemented with Javascript (learned about manipulating DOM, event listeners, modern JS features), HTML and CSS while doing The Complete JavaScript Course 2020: Build Real Projects!

Game Rules

  • The game has 2 players, played in rounds
  • Players choose a winning score and press New Game (default - 100)
  • Every round, a player rolls dices as many times as he wishes. Each result gets added to his ROUND score
  • If a player rolls a 1, all his ROUND score gets lost. After that, it's the next player's turn
  • The player can choose to 'Hold', which means that his ROUND score gets added to his GLOBAL score. After that, it's the next player's turn
  • The first player to reach winning points on GLOBAL score wins the game

About

2-player dice rolling game implemented with Javascript

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.