Download Wordle Game in JavaScript Free Source Code

MIKRODINET
0

 Download Wordle Game in JavaScript Free Source Code  - Mikrodinet

Download Wordle Game in JavaScript Free Source Code  - Mikrodinet




Downloading source code. The wordle source code is available on GitHub, and can be accessed from the following URL : 

Downloading source code

The wordle source code is available on GitHub, and can be accessed from the following URL: https://github.com/domdfcoding/wordle


If you have git installed, you can clone the repository with the following command:


git clone https://github.com/domdfcoding/wordle

Cloning into 'wordle'...

remote: Enumerating objects: 47, done.

remote: Counting objects: 100% (47/47), done.

remote: Compressing objects: 100% (41/41), done.

remote: Total 173 (delta 16), reused 17 (delta 6), pack-reused 126

Receiving objects: 100% (173/173), 126.56 KiB | 678.00 KiB/s, done.

Resolving deltas: 100% (66/66), done.



Wordle 2 is a simple game based on word search. It is a word search game in which the player has to find the correct word to fill in the grid. 



Wordle is a simple online word game that challenges people to find a five-letter word in six guesses - with a new puzzle being published every day. 



Wordle Mikrodinet

Wordle Mikrodinet


Wordle is a simple word-guessing game that tasks players with solving a five-word puzzle using letter position clues. 


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.

You can access previous games from the settings menu by inputting a game number or link.

Service worker which allows the game to be easily downloaded as a progressive web app and run offline.

Give Up button.

Additional modes

The game mode can be changed by clicking WORDLE+ at the top of the screen or swiping the board in either direction.


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. It also uses some basic scss for styling.


The project was initialized using npm init vite@latest and selecting the Svelte template.


Forking this project

Anybody is welcome to fork this repository and do what they like with it, provided they follow the accompanying license (GPL-3.0). I would also appreciate if you could link back to this repository and credit me in your project.


Have fun :)


Analytics

This project contains basic google analytics which log the following information:


Number of visitors

Visitor's Country

Whether they arrived via a direct link or a search engine

Total number of people on site

This information cannot be linked back to individual users. It is for my own personal use and is not shared with anyone else. This is my first "major" public facing project and being able to see how many people are playing from all over the world is a big factor in my motivation to continue working on it.



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



Most Common Keywords:


6 project6 play6 number5 init5 object5 github5 link5 follow4 cara4 clicking4 people4 following4 svelte4 time4 objects4 share4 modes4 addition3 additional3 able3 simple3 previous3 words3 random3 enum3 search3 delta3 tell3 submitted3 gratis3 javascript3 button3 refresh3 repository


Tags

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !
To Top