The Pig Game

What?

Pig is a simple dice game with many rule variations. The objective of Pig Dice Game is to score 100 points before the opponent(s) do(es). The Pig game is played with a single six-sided die but this version two standard dice are rolled.

Before you start the game with your opponent, you can input your name and customize the winning score.

How?

All the functionality was made using JavaScript and Model-View-Controller pattern. Used different JS concepts like functions expressions, IIFE, scoping, closures, prototypes, objects and methods.

  • HTML
  • CSS
  • JavaScript
  • Client: Personal Project
  • Website: The Pig Game
  • Date: January 2018
  • Service: Web Development