Skip to content

Commit 9a0fc9c

Browse files
authored
Add files via upload
1 parent afa7171 commit 9a0fc9c

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

assets/favicon.ico

15 KB
Binary file not shown.

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<link rel="preconnect" href="https://fonts.googleapis.com">
1010
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1111
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
12+
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon">
1213
</head>
1314
<body>
1415
<div class="game-container">
@@ -166,7 +167,7 @@ <h2>Lancer le dé</h2>
166167

167168

168169

169-
<div class="action-buttons">
170+
<div class="action-buttons">
170171
<button id="roll-button" class="retro-button">Lancer Dé</button>
171172
<button id="next-turn-button" class="retro-button">Tour Suivant</button>
172173
</div>

js/main.js

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,24 @@ function initGame() {
4242

4343
// Précharge les images depuis assets
4444
preloadAssets();
45+
// a voir apres -----------------------------------------------------------------------
46+
// const voices = speechSynthesis.getVoices();
47+
// maleVoice = voices.find(
48+
// (voice) => voice.name === "Microsoft Paul - French (France)",
49+
// );
50+
// // Lire le texte
51+
// let speechText = "Bienvenue dans votre jeu, La Bonne Gestion Immobilière"
52+
// const speech = new SpeechSynthesisUtterance(speechText);
53+
// speech.lang = "fr-FR"; // Langue française
54+
// speech.volume = 1; // Volume maximum
55+
// speech.rate = 1; // Vitesse normale
56+
// speech.pitch = 1; // Ton normal
57+
// if (maleVoice) {
58+
// speech.voice = maleVoice;
59+
// }
60+
61+
// // Lire le texte
62+
// window.speechSynthesis.speak(speech);
4563
}
4664

4765
// Précharge les images pour une utilisation ultérieure
@@ -1331,5 +1349,3 @@ function showNotification(message, duration = 3000) {
13311349
notification.classList.remove('show');
13321350
}, duration);
13331351
}
1334-
1335-

js/modalCardFlip.js

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)