<label>Number of Players</label>
<select id="playerCount">
<option value="2">2 Players (Blue, Red)</option>
<option value="3">3 Players (Blue, Red, Green)</option>
<option value="4" selected>4 Players (Blue, Red, Green, Yellow)</option>
</select>
<label>Start Game</label>
<button id="startBtn">Start / Restart</button>
<div class="info">
<div><strong>Current:</strong> <span id="currentPlayer">—</span></div>
<div style="margin-top:6px"><strong>Dice:</strong> <span class="badge" id="diceVal">—</span></div>
</div>
<div class="dice">
<button id="rollBtn">Roll Dice</button>
<div class="dice-result" id="diceDisplay">—</div>
</div>
<div class="hint">Click a token button to move it after a valid roll. Need a 6 to bring a token out of home.</div>
<label style="margin-top:12px">Select Token to Move</label>
<div id="tokenBtns" class="token-buttons"></div>
<div class="score-list" id="scoreList"></div>
<footer>
Rules (simplified): Need 6 to release from home. Capture opponent on landing (unless square is safe). Exact roll to finish one token. First player to finish all tokens wins.
</footer>
-
Notifications
You must be signed in to change notification settings - Fork 0
adityajoshii-tech/java-
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
this is one of normal game
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published