تفاصيل العمل

Pig Game is a fun and interactive two-player dice game built with JavaScript, HTML, and CSS. The rules are simple:

Players take turns rolling a dice.

Each roll adds to their current score, but if they roll a 1, they lose all points from that turn, and it’s the next player’s turn.

A player can choose to “Hold” their score, adding it to their total.

The first player to reach the target score (default is 100) wins the game.

This project demonstrates DOM manipulation, event handling, and game logic in vanilla JavaScript.

بطاقة العمل

اسم المستقل
عدد الإعجابات
0
عدد المشاهدات
1
تاريخ الإضافة
تاريخ الإنجاز
المهارات