diff --git a/bocciofila/home.html b/bocciofila/home.html new file mode 100644 index 0000000..1811250 --- /dev/null +++ b/bocciofila/home.html @@ -0,0 +1,56 @@ + + + + + + + + + + +
+ + + +
+ +
+
+
+ +
+ + + + + diff --git a/bocciofila/index.html b/bocciofila/index.html index 1811250..042c5c3 100644 --- a/bocciofila/index.html +++ b/bocciofila/index.html @@ -1,56 +1,34 @@ - - - - - - + + + -
- -
- -
- -
- - - - + + + + Start Game + + + diff --git a/bocciofila/landingfull.png b/bocciofila/landingfull.png new file mode 100644 index 0000000..9464f26 Binary files /dev/null and b/bocciofila/landingfull.png differ diff --git a/bocciofila/script.js b/bocciofila/script.js index 44b1ee9..dda3b26 100644 --- a/bocciofila/script.js +++ b/bocciofila/script.js @@ -1,11 +1,9 @@ -// Aspetta che il documento HTML sia completamente caricato prima di eseguire lo script document.addEventListener("DOMContentLoaded", function() { - // Ottieni il riferimento al pulsante di avvio del gioco - var startButton = document.getElementById("startButton"); + // var startButton = document.getElementById("startButton"); + + // startButton.addEventListener("click", function() { + let fun = function() { - // Aggiungi un gestore di eventi al pulsante di avvio - startButton.addEventListener("click", function() { - // Nascondi il pulsante di avvio startButton.style.display = "none"; // Ottieni il riferimento al contenitore del gioco @@ -25,7 +23,8 @@ document.addEventListener("DOMContentLoaded", function() { // Aggiungi una classe CSS per far girare la ruota gameContainer.classList.add("spin"); loadIframeWithTimeout(); - }); + }; + fun(); }); function loadIframeWithTimeout() {