12345678910111213141516171819202122232425262728293031323334353637383940 |
- <!DOCTYPE html>
- <html lang="">
-
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>p5.js example</title>
- <link href="./css/style.css" rel="stylesheet">
- <script src="./js/p5.min.js"></script>
- <script src="./js/tube.js"></script>
- <script src="./js/game.js"></script>
- <script src="./js/drawer.js"></script>
- <script src="./js/sketch.js"></script>
- </head>
-
- <body>
- <menu>
- <menuitem>
- <label>Tubes Number</label>
- <input type="number" size="5" id="tbNumber" value="10">
- </menuitem>
- <menuitem>
- <label>Tubes Levels</label>
- <input type="number" size="5" id="tbLevel" value="5">
- </menuitem>
- <menuitem>
- <label>Padding</label>
- <input type="number" size="5" id="padding" value="5">
- </menuitem>
- <menuitem>
- <label>Tube Size</label>
- <input type="number" size="5" id="tbSize" value="5">
- </menuitem>
- <button type="button" onclick="newGame()">New game</button>
- </menu>
- <main oncontextmenu="return false;">
- </main>
- </body>
-
- </html>
|