Overview
Pig Game is a classic dice game I built as an interactive web application. Two players take turns rolling a dice to accumulate points, but there's a catch roll a 1 and you lose all points from that turn. It's a game of risk versus reward that tests your luck and decision-making.

How the Game Works
-
Players take turns rolling a dice
-
Each roll adds to your current score for that turn
-
You can "Hold" to bank your points safely to your total score
-
But if you roll a 1, you lose all unbanked points and your turn ends
-
First player to reach 100 points wins
Technologies Used
StructureHTML5
StylingCSS3
LogicVanilla
JavaScript (ES6+)
DeploymentNetlify
DesignCustom UI with modern aesthetics

Key Features
Two-Player Gameplay — Alternating turns between Player 1 and Player 2.
Dice Roll Animation — Visual dice display that updates with each roll.
Score Tracking — Real-time current score and total score for both players.
Hold Functionality — Strategic option to bank points safely.
Win Detection — Automatic winner announcement at 100 points
New Game Reset — Start fresh anytime with one click.
Active Player Highlighting — Clear visual indicator of whose turn it is.
Responsive Design — Playable on desktop and mobile devices.
Clean UI — Minimalist design that focuses on gameplay.
