https://github.com/mobakour/swordle
Swordle client-side word guessing game
https://github.com/mobakour/swordle
game guessing javascript javascript-game swordle wordle
Last synced: 8 months ago
JSON representation
Swordle client-side word guessing game
- Host: GitHub
- URL: https://github.com/mobakour/swordle
- Owner: MoBakour
- Created: 2022-04-17T02:21:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-18T17:05:57.000Z (over 3 years ago)
- Last Synced: 2025-01-09T10:24:28.893Z (9 months ago)
- Topics: game, guessing, javascript, javascript-game, swordle, wordle
- Language: JavaScript
- Homepage: https://swordle-game.netlify.app
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swordle
Swordle is a simple client-side word guessing game built with basic HTML, CSS, and JavaScript. The player get a random word from between 1150~ words, and you get to guess the word. The player will get a limited number of tries depending on the game mode selected. There are three game modes, x3 where you get a word of three letters and three guesses only, x4 where you get a word of four letters and four guesses only, and x5 where you get a word of five letters and five guesses only.
The JavaScript logic of the game is designed in two styles, functional style and object-oriented style. Both styles are written in separate script files inside the scripts directory. Only one of the script files should be linked to the HTML file via the `` tag.
The script files use the ES6 `import` and `export` commands, so marking the `<script>` tags with `type="module"` is necessary.
So far, the game only supports computers but not mobile devices.
## Contact
Find me on discord as [Swordax#5756](https://discord.com/users/465453058667839499/)<br>
Email me through [swordax.sy](mailto:swordax.sy@gmail.com)<br>
Find me on social media as @swordax.sy<br>