A recreation of the popular game Wordle with additional modes and features. Made with Svelte in Typescript.

Overview

Wordle+

Publish workflow GitHub package.json version

A recreation of the popular game Wordle by Josh Wardle (now purchased by the New York Times), with additional modes and features. Hosted on GitHub pages here.

Additional Features

  • Words are chosen from the list of words at random instead of in sequence, and the solution is not stored in localStorage, making it harder to cheat. The seed for the random number is created from the date, ensuring that everyone gets the same random number, so people can still compare answers.
  • When you complete a game the definition of the word is shown on the end of game modal.
  • In addition to the other statistics, your average guesses and your losses are also displayed on the win modal.
  • When the timer reaches 0 for a given game mode it changes into a refresh button instead of just staying at 00:00:00.
  • When the timer reaches 0 for a given game mode a refresh button appears in the top left corner.
  • A tips widget in the settings menu with useful information about the functionality of the game.
  • Right clicking a submitted word on the board will tell you its definition.
  • Right clicking a submitted word on the board will tell you how many possible words could have been played there, taking all previous information into account.
  • Right clicking the row below the last submitted word will tell you how many possibilities there are taking all previous information into account.
  • The game mode is reflected in the url, allowing you to share a game mode directly.
  • You can share a link to a specific game number, allowing you to play historical games, and share specific rounds of the faster changing modes with your friends.
  • Service worker which allows the game to be easily downloaded as a progressive web app and run offline.
  • Give Up button.

Additional modes

Hourly mode: A new word every hour.

Infinite mode: A new word every time you refresh, for the true addicts.

Technical details

This is written with Svelte in Typescript. This is my first Svelte project, and is intended as an exercise to help me learn and become proficient in Svelte. This is still in development. My goal is to make it as close to the original wordle as possible while also adding additional features. I will continue to make it more similar to the original.

Forking this project

Anybody is welcome to fork this repository and do what they like with it, provided they follow the accompanying licence (GPL-3.0). I would also appreciate if you could remove my google analytics script from the head of the page and include a link back to this repository somewhere.

Have fun :)

How to create a new mode
  • Add the mode name to the end of the GameMode enum in enums.ts
  • Add a case for that mode in the newSeed function in utils.ts
  • Add a ModeData object to the modeData modes array in utils.ts
Comments
  • Double letter handling does not match OG wordle

    Double letter handling does not match OG wordle

    Screenshot_20220124-182900_Samsung Internet

    See screenshot. In OG Wordle, the first E would be yellow, and the last E would be grey. Both Es highlighted yellow in the guess suggests that there are two Es in the word.

    If the word was KEEPS, and I guess EAGLE, the both Es highlighted yellow would be correct.

    bug 
    opened by cwinget 8
  • DOESNT GO ON AND ON

    DOESNT GO ON AND ON

    IT SAYS WORDLE PLUS BUT IT STOPS AFTER 4 WORDS. WHAT A RIP OFF!!!! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! GAME! TAKE DOWN THIS GAME! TAKE DOWN THIS GAME! FOR THE COMMUNITY!!!!!!!!!

    bug 
    opened by elbellepoopykittie 5
  • i tried everything and it only worked once

    i tried everything and it only worked once

    Describe the bug A clear and concise description of what the bug is.

    To Reproduce Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior A clear and concise description of what you expected to happen.

    Screenshots If applicable, add screenshots to help explain your problem.

    Desktop (please complete the following information):

    • OS: [e.g. iOS]
    • Browser [e.g. chrome, safari]
    • Browser Version [e.g. 22]
    • Game Version [e.g. 1.2.0]

    Smartphone (please complete the following information):

    • Device: [e.g. iPhone6]
    • OS: [e.g. iOS8.1]
    • Browser [e.g. stock browser, safari]
    • Browser Version [e.g. 22]

    Additional context Add any other context about the problem here.

    bug 
    opened by Jasoon967 5
  • Remove Google

    Remove Google

    Remove your Analytics API from this project, don’t add a “message to forkers”. This it GitHub not some random repo host.

    SEO and open source are oil and water.

    You didn’t do anything here in an original context, and “your” project is on the chopping block for NYT.

    Build something original, then talk about copyright & licensing.

    bug question 
    opened by lukeswitz 3
  • Control the words that appear every day

    Control the words that appear every day

    Description I have seen that the program launches in the daily mode a random word regardless of the order but, would there be any option to have internally controlled the order with which the words would come out?

    Reasoning I would like to create a Wordle but that in certain days I have the control that a concrete word associated to an event celebrated that day will come out.

    Thanks for everything!

    enhancement 
    opened by guiloviu 2
  • Refresh button not working correctly

    Refresh button not working correctly

    Describe the bug A clear and concise description of what the bug is.

    To Reproduce Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior A clear and concise description of what you expected to happen.

    Screenshots If applicable, add screenshots to help explain your problem.

    Desktop (please complete the following information):

    • OS: [e.g. iOS]
    • Browser [e.g. chrome, safari]
    • Browser Version [e.g. 22]
    • Game Version [e.g. 1.2.0]

    Smartphone (please complete the following information):

    • Device: [e.g. iPhone6]
    • OS: [e.g. iOS8.1]
    • Browser [e.g. stock browser, safari]
    • Browser Version [e.g. 22]

    Additional context Add any other context about the problem here.

    bug critical 
    opened by Jasoon967 2
  • How to install this?

    How to install this?

    Sorry for such a rudimentary question!

    I run a small personal server using YunoHost, and I'd love to install Wordle+ for myself and my family, but I can't quite seem to figure out how to do it. I tried just cloning the git repo into the the website directory, but when I did, navigating to the index.html file didn't load the game.

    I'm certainly overlooking something, but any help would be appreciated. Perhaps that could also be spun up into some documentation?

    Thanks in advance.

    opened by SpencerDub 2
  • License?

    License?

    Hi,

    Would you like to add a licence to your code? If nothing else, you could use the following.

    Copyright <YEAR> <COPYRIGHT HOLDER>
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    

    The reason I ask is that I like your code and have been adapting it, and want to ensure your contributions are appropriately recorded. Thanks!

    Robert

    opened by rbrignall 2
  • Keys losing their color

    Keys losing their color

    When changing between modes keys return to the correct color for that game correctly. Observed when game was mid way, switched and switched back and previously green keys looked unpressed.

    bug 
    opened by MikhaD 2
  • Letter in word hint not working correctly

    Letter in word hint not working correctly

    image

    It looks like it highlights every instance of a correct letter. The actual word was shalt, but it highlighted ever S in Sassy. This is not how the original wordle works. I'm assuming that it's supposed to be like wordle, but I don't know for sure.

    Anyway, great job on this!

    bug 
    opened by Caleb-Barton 2
  • Statistics Color Bug

    Statistics Color Bug

    Describe the bug Played for the first time and did not guess the word, but in the sixth row ([6] 0), the zero got a green color. this is rather confusing, since I did not find the word.

    To Reproduce Steps to reproduce the behavior:

    1. Play the game for the first time
    2. Do not guess the word
    3. Look at the sixth row in the statistics screen
    4. See error

    Expected behavior A black (or red) color instead of a green one.

    Screenshots image

    bug 
    opened by DriesC-1850394 1
  • Multilanguage support

    Multilanguage support

    Hello! I was starting to do a webapp of the original wordle, then I saw this repository.... I was also planning to add more languages. If you put application strings and wordlists in separate files it would be easy for the comminity to translate it in all possible languages. If anyone is interested here is the android APK of the last version appeared on the original author website: Wordle.zip

    enhancement 
    opened by Zibri 2
  • Board keeps condensing

    Board keeps condensing

    Describe the bug The Wordle board keeps condensing to be very short and super wide.

    Desktop (please complete the following information):

    • OS: [iPad OS]
    • Browser [Safari]
    • Browser Version [???]
    • Game Version [1.3.2]

    Smartphone (please complete the following information):

    • Device: [iPad 7th Gen]
    • OS: [15.6.1]
    • Browser [Safari]
    • Browser Version [???]
    bug duplicate 
    opened by Cmoo-8675 3
  • Feature request: Option to Disable Keyboard color assist

    Feature request: Option to Disable Keyboard color assist

    Description I'd like to request the feature to make the keyboard on bottom always stay default white, instead of filling in as you go.

    Reasoning Can consider this both an added difficulty (you have to keep track of letters yourself) and visual accessibility issue (less distracting when typing). Shouldn't be lumped in with 'Hard Mode'; make it a separate option.

    Thanks!

    enhancement 
    opened by goombapatrol 2
  • Option to disable background symbols

    Option to disable background symbols

    Description I'd like to request a menu toggle to hide the large 'Hourly' and 'Infinite' symbols that appear in background behind squares when playing said modes.

    Reasoning It's really distracting and harder to focus on the field and tiles when it's overlaid as such. Could have a small icon at the top, or not at all (it doesn't seem necessary). Just not on the squares.

    Nice work, thanks for making this.

    Wordle+_An_infinite_word_guessing_game-_Google__2022-07-21_08-21-58

    enhancement 
    opened by goombapatrol 2
  • Swipe between modes

    Swipe between modes

    Description Swiping between modes Reasoning I was playing my game a few days ago and instinctively swiped to switch mode, before remembering that that's not the correct mechanism. I think swiping is far more intuitive than tapping the title.

    enhancement 
    opened by MikhaD 0
  • Grid is too dense

    Grid is too dense

    Screenshots

    Grid flatted into unreadable mess

    To Reproduce

    Steps to reproduce the behavior:

    1. Go to Daily section.
    2. Type any word.
    3. See error.

    Expected behavior Good looking grid.

    Desktop (please complete the following information):

    • OS: macOS 12.4
    • Browser: Safari
    • Browser Version: 15.5
    • Game Version:
    HTML element with game version that can not be selected

    Why I can't select version text?

    bug duplicate 
    opened by Masynchin 3
Owner
Mikha Davids
UCT computer science student
Mikha Davids
A clone of the popular game Wordle made using React, Typescript, and Tailwind

Wordle Clone Go play the real Wordle here Read the story behind it here Try a demo of this clone project here Inspiration: This game is an open source

Hannah Park 2.4k Jan 8, 2023
A clone of the popular Wordle game.

Wordle Clone How to play locally: yarn install

null 2 Jan 9, 2022
WordleGameCB - a game inspired by the Wordle word game developed by Josh Wardle

Technologies WordleGameCB WordleGameCB is a game inspired by the Wordle word game developed by Josh Wardle. This application was developed with the ai

@Encoding 4 Feb 20, 2022
Provides 5 keywords with which to narrow down your wordle game. I ruin nice things.

Widdle?? I hate fun so I wrote a script that ruins Wordle. This script can be used to find a Widdle, a set of five words that cover nearly all letters

Tess Myers 3 Mar 12, 2022
WORDLEBOARD prototype: Show your Wordle game on a Vestaboard as you play.

WORDLEBOARD prototype Show your Wordle game on a Vestaboard as you play. Copyright (c) 2022, Scott Schiller. MIT license. Made with love and fun in mi

Scott Schiller 7 Dec 20, 2022
A Wordle-like game where you have to guess the unsigned 8-bit binary number

Bytle A Wordle-like game where you have to guess the unsigned 8-bit binary number! Game coded in 2h 14m 50.570s, but it's not like I'm counting how lo

James Livesey 16 Jun 30, 2022
I found 'WORDLE' game is hackable . we get solution on localStorage. I just prevented this.

WordleGame() Demo: https://shobdokhela.vercel.app Go play the real Wordle here Read the story behind it here Main Author Hannah Park Inspiration: I fo

Samayun Chowdhury 3 Mar 6, 2022
Chrome extension for the game called Wordle

Chrome extension for the game called Wordle. No need to get stuck again while you have this at your side. Climb up that leader board!

Anjaneya Tripathi 18 Sep 17, 2022
JavaScript library guessing game, a Wordle clone

Jazle JavaScript library guessing game, a Wordle clone. A fork of cwackerfuss/react-wordle. See the list of accepted libraries: wordlist.ts Build and

Oliver Radwell 17 May 26, 2022
Telegram Bot inspired by the Wordle game

Wordle Bot Give a try! @xWordleBot. This is a simple bot inspired by Wordle game. The bot is entirely written in TypeScript. Thanks to grammY Telegram

Sreelal TS 17 Oct 21, 2022
A Wordle-esque caption guessing game with DALL-E images.

This project was a weekend well spent. Built with NextJS, a PostgreSQL backend, and Prisma as an ORM. Available at http://dalledle.com! Getting Starte

Alex Becker 5 Sep 3, 2022
'Neko Mezashi Attack' - a simple but cute action game made with Vite and TypeScript

'Neko Mezashi Attack' is a simple but cute action game made with Vite and TypeScript. This app is packed all resources including style, graphics and audio into 4KB(4096 chars) JS. No runtime libraries or external resources are required.

yuneco 10 Dec 1, 2022
Latin Wordle is a free and open-source project that aims to provide a fun and interactive way to learn Latin.

Latin Wordle Live Game Here Inspiration Latin Wordle is a free and open-source project that aims to provide a fun and interactive way to learn Latin.

null 15 Dec 16, 2022
Wordle2Townscaper is meant to convert Wordle tweets into Townscaper houses using yellow and green building blocks.

Wordle2Townscaper Wordle2Townscaper is meant to convert Wordle tweets into Townscaper houses using yellow and green building blocks. You can download

Tarmo 66 Nov 2, 2022
How to build a multiplayer Wordle clone with Liveblocks, Vue, and Vite

Wordle Wars This repo shows how to build a multiplayer Wordle clone with Liveblocks, Vue, and Vite. Try it out It's forked from VVowrdle created by Ev

Chris 71 Dec 8, 2022
Eva.js is a front-end game engine specifically for creating interactive game projects.

High-performance: Eva.js is powered by efficient runtime and rendering pipeline (Pixi.JS) which makes it possible to unleash the full potential of your device.

EVA 1.6k Dec 27, 2022
A simple wordle solver for Node.js

This is just a weekend project, so take it easy :-) simple-worlde-solver Wordle solver for Node.js. I am aware of other efforts that use greedy algori

Alessandro Toppi 3 Feb 20, 2022
CLI to to solve your Wordle puzzle daily

?? CLI to to solve your Wordle puzzle daily. Learn to build Node.js CLI apps. wordle-solved-cli ?? CLI that solves Wordle puzzles for you ?? Automatic

Ahmad Awais ⚡️ 8 Feb 2, 2022
The extension to help you when you badly don't want to mess up your wordle streak

Your last resort in woordle to maintain your woordle win streak

Sreecharan 2 Feb 3, 2022