-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e40d553
commit 9987719
Showing
1 changed file
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Backgammon Game</title> | ||
<!-- Link to external stylesheets for cleaner HTML --> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
<body> | ||
|
||
<!-- Backgammon Board --> | ||
<div id="backgammon-board"> | ||
<div id="left-bar"></div> | ||
<div id="right-bar"></div> | ||
<div id="board"> | ||
<!-- Dynamically generated triangles for the board --> | ||
<!-- 24 positions on the board --> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
<div class="triangle"></div> | ||
</div> | ||
|
||
<!-- Roll Dice Button --> | ||
<button id="roll-btn">Roll Dice</button> | ||
|
||
<!-- Dice Display --> | ||
<div id="dice-container"> | ||
<div class="dice" id="dice1">1</div> | ||
<div class="dice" id="dice2">6</div> | ||
</div> | ||
</div> | ||
|
||
<!-- External JavaScript --> | ||
<script src="bg1.js"></script> | ||
<script src="bg2.js"></script> | ||
<script src="bg3.js"></script> | ||
<script src="gameRules.js"></script> | ||
<script src="sounds.js"></script> | ||
<script src="settings.js"></script> | ||
<script src="localStorage.js"></script> | ||
<script src="index.js"></script> | ||
|
||
</body> | ||
</html> |