summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-04-30 14:10:27 +0800
committerZhineng Li <[email protected]>2026-04-30 14:10:27 +0800
commit05b1267f91d07704aa749bd64c3c289afddc7546 (patch)
tree376bb33ec2c3c1c695408e18232bfc3be005683f /index.html
parent68c9b7560642c802ca3bfe6d7e0f7a8c54412c40 (diff)
downloadword-search-game-05b1267f91d07704aa749bd64c3c289afddc7546.tar.gz
word-search-game-05b1267f91d07704aa749bd64c3c289afddc7546.zip
rename class from `WordSearch` to `Game`
Diffstat (limited to 'index.html')
-rw-r--r--index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.html b/index.html
index 358497e..f3cc9fd 100644
--- a/index.html
+++ b/index.html
@@ -21,9 +21,9 @@
</footer>
</main>
<script type="module">
- import { WordSearch } from './js/wordsearch.js';
+ import { Game } from './js/wordsearch.js';
- const game = new WordSearch({
+ const game = new Game({
container: 'gameboard',
words: ['Bangkok', 'Hong Kong', 'London', 'Macau', 'Istanbul', 'Dubai', 'Mecca', 'Antalya', 'Paris', 'Kuala Lumpur'],
});