C'est le jeu des tubes de couleur dans les pubs la
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.html 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html lang="">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Le jeu des tubes là</title>
  7. <link href="./css/style.css" rel="stylesheet">
  8. <script src="./js/lib/p5.min.js"></script>
  9. <script src="./js/model/tube.js"></script>
  10. <script src="./js/model/game.js"></script>
  11. <script src="./js/drawer.js"></script>
  12. <script src="./js/controller.js"></script>
  13. <script src="./js/main.js"></script>
  14. </head>
  15. <body>
  16. <menu>
  17. <menuitem>
  18. <label>Tubes Number</label>
  19. <input type="number" size="5" id="tbNumber" value="10">
  20. </menuitem>
  21. <menuitem>
  22. <label>Tubes Levels</label>
  23. <input type="number" size="5" id="tbLevel" value="6">
  24. </menuitem>
  25. <menuitem>
  26. <label>Padding</label>
  27. <input type="number" size="5" id="padding" value="10">
  28. </menuitem>
  29. <menuitem>
  30. <label>Tube Scale</label>
  31. <input type="number" size="5" id="scale" value="50">
  32. </menuitem>
  33. <button type="button" onclick="controller.initializeGame()">New game</button>
  34. </menu>
  35. <main oncontextmenu="return false;">
  36. </main>
  37. </body>
  38. </html>