Skip to content

cemysce/wordle-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wordle-basic

Quick and dirty Wordle clones.

Credit for the game's name, gameplay logic, and visual design belongs to Josh Wardle. The programs here were merely fun exercises for me, and may be useful to others.

Except where noted below, everything here was written by myself from scratch, to replicate the gameplay logic as I understood it from playing the game.

  • basic/
    • wordle-basic.py – My initial implementation, including hard mode support, in 39 lines of Python.
      • The word lists in the code are blank and must be manually filled in however you want, or taken from the upstream game's code.
      • Optional arguments:
        • hard for hard mode
  • more-features/
    • wordle-bw.py – A more featureful implementation, including downloading and analyzing upstream Wordle's word lists.
      • Optional arguments:
        • hard for hard mode
        • fetch to download Wordle's valid answers and valid guesses word lists
        • stats performs some very rudimentary analysis on words in valid answers list
    • wordle-color.py – Minor variation on wordle-bw.py, adding support for all 4 of upstream Wordle's color schemes.
      • A couple of parameters must be edited in the code to switch between the color schemes (dark mode, high contrast mode).
      • The idea for this came from here, but I quickly realized I wanted to make a full-fledged replica instead.
    • decode-solution.py – A replication in Python of the logic Wordle uses to determine the daily game number and solution.
      • This is only for reference. The program doesn't do anything useful on its own.
      • The logic here was reproduced by inspecting upstream Wordle's JavaScript code.

About

Quick and dirty Wordle clones.

Resources

License

Stars

Watchers

Forks

Languages