Please note that StdDraw.java was not created by me and I only made a few tweaks to it to fit my program (StdDraw is a java library program).
Also note that this game is not sponsored or created by the New York Times (NYT), the company that owns Wordle.
Link to the official game: https://www.nytimes.com/games/wordle/index.html
A fun little remake of the classic (well technically, one change is you can play it without wifi 😃)...
Install the latest release for best experience (older releases will work fine as well, but they will have more bugs and less features obviously).
Also prereleases may often be ridden with bugs, so if you want a smoother experience, you should install the latest FULL release. However, playing the prereleases will give you funner gameplay, so as long as you don't mind bugs too much, check it out (plus it helps with bug testing 😃).
- Go to the shell on your laptop.
IMPORTANT: You need to have Java installed for the following to work. You may already have Java pre-installed, especially if you use Linux. To check (if you are unsure), skip straight to Step 5.
Installation Instructions (note that Step 4 is only for Windows users and that Step 5 is optional, but is a good way to check if you are all setup):
_________________________________________________________________________________________________
- Go to the directory with the code inside it (to do so, use the command: cd [file directory info]).
- For example, assuming my game files were stored in Simple Wordle, in a manner like this (image below), I would enter in: cd Desktop/SimpleWordle
________________________________________________________________________________________________________________________
- Next compile all the files using the command: javac *.java (It may show some warnings, but those are just because of some archaic methods the StdDraw.java file is, it won't be a problem).
- Next run the game with the command: java Wordle
- A window should pop up that looks like this:
__________________________________________________________________________________________________
- Enjoy 🔥!
- You can press the "Reset" button to reset the board and the word you have to guess
- Also the on-screen keyboard is not just for show, it actually works.
- Saying: java Wordle show during runtime (instead of java Wordle) will show you the word that you need to guess for this turn (and the next ones).
- You can choose your own words as well by putting a word in front of the "java Wordle show" command (i.e. to make the word "pizza", you should do: java Wordle show pizza)
- I will probably update this somewhat constantly so any current bugs (I don't think they are any, but I could be wrong), will probably be patched soon (as of now).
- That being said, I will probably stop updating this (or at least stop frequently updating it) after a while (not sure when, just know I could drop updates for this at any time) as this is not an original project, so there's no point of putting too much work.