https://github.com/dolanske/wored
I swear this is just a wordle replica.
https://github.com/dolanske/wored
practise wordle
Last synced: 11 months ago
JSON representation
I swear this is just a wordle replica.
- Host: GitHub
- URL: https://github.com/dolanske/wored
- Owner: dolanske
- License: gpl-3.0
- Created: 2023-06-25T21:07:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-09T15:18:12.000Z (11 months ago)
- Last Synced: 2025-02-09T16:26:33.707Z (11 months ago)
- Topics: practise, wordle
- Language: TypeScript
- Homepage: https://dolansky.dev/projects/wordle-clone
- Size: 500 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WORED (wordle replica)
I was inspired by [Jessica's](https://github.com/jvlazar) wordle replica project, so I decided to implement one myself.
The only reference I had was the fact that I've played wordle before.
Unlike wordle, wored offers a few additions to the normal game.
- You can change the amount of attempts. Minimum is 1, maximum 16
- You can change the length of the word. Minimum is 3 letters, maximum is 12

---
## Installation
1. Simply clone the repo by using.
```bash
npm i -S git+https://github.com/dolanske/wored.git
```
2. Run the game by supplying it with an elemet to mount to (using `document.querySelector()`)
```ts
import { run } from '@dolanske/wored'
// Expects that your dom contains a
run('#game')
```
3. Optionally, you can modify the game's default config. Just make sure to make any changes before actually running the game.
```ts
import { cfg, run } from '@dolanske/wored'
cfg.WORD_LENGTH = 10
cfg.MAX_ATTEMPTS = 3
run('#game')
```