wordle Svelte Themes

Wordle

A Wordle clone made with Sveltekit. Demo available.


Wordle

This is a Wordle clone made with Sveltekit.

GitHub last commit

Key FeaturesHow To UseCredits

View Demo

Key Features

  • Game
    • Random solution for every game
    • Letter count / position algorithm
    • Virtual keyboard tracking inputs
    • Verify input is a real word
  • Animations
    • Letter input / output
    • Input validation
    • Incorrect input error (less than 5 letters)
    • Modal / Grid / Keyboard appearance

How To Use

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/dcBrian/wordle.git

# Go into the repository
$ cd wordle

# Install dependencies
$ npm install

# Run the app
$ npm run dev

Configuration

If you want to use your own list of words, you can change the API endpoint by setting the environment variable VITE_PUBLIC_API_PATH.
By default, it points to https://api-pearl-eight.vercel.app/api/solutions defined in this repository.
The expected data is:

[
    { id: 1, word: 'ninja' },
    { id: 2, word: 'spade' },
    ...
]

Credits

This project uses the following packages and services:

Top categories

Loading Svelte Themes