Browse Source

Hinzufügen der Spielerauswahl zu html

main
Richard Halsall 2 years ago
parent
commit
0ffb8152a9
  1. 12
      schlangen_und_leitern/HTML.html
  2. 34
      schlangen_und_leitern/board.html
  3. 8
      schlangen_und_leitern/css/style.css

12
schlangen_und_leitern/HTML.html

@ -8,6 +8,7 @@
<script type="text/javascript" src="js/rollDice.js"></script>
<script type= "text/javascript" src="js/rollResult.js"></script>
<script type= "text/javascript" src="js/makeBoard.js"></script>
<script type= "text/javascript" src="js/Bridge.js"></script>
<title>Document</title>
@ -16,13 +17,16 @@
<h1>Schlangen und Leitern</h1>
</header>
<body>
<div calss = container id="playArea">
<table id = "board"></table>
<div>
<input type="button" class = "playerSelect" id="2Player" onclick="mainGame(2)" value="2 Spieler"></input>
<input type="button" class = "playerSelect" id="3Player" onclick="mainGame(3)" value ="3 Spieler"></input>
<input type="button" class = "playerSelect" id="4Player" onclick="mainGame(4)" value = "4 Spieler"></input>
</div>
<div calss = container id="playArea">
<table id = "board"></table>
</div>
<div class = container id="würfelBereich">

34
schlangen_und_leitern/board.html

@ -1,34 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="js/rollDice.js"></script>
<script type= "text/javascript" src="js/rollResult.js"></script>
<script type= "text/javascript" src="js/makeBoard.js"></script>
<title>Document</title>
</head>
<body>
<div calss = container id="playArea">
<table id = "board"></table>
</div>
<div class = container id="würfelBereich">
<img src="/img/wurfle/f(1).png" id="face">
<input type = "button" id="rollButton" onclick = "changeFace();drawBoard()" value = "Würfeln">
</div>
</body>
</html>

8
schlangen_und_leitern/css/style.css

@ -1,3 +1,11 @@
h1{
text-align: center;
font-size: 50px;
}
#würfelBereich{
height: 170px;

Loading…
Cancel
Save