Wordle Bot

Goals

The assignment is a variation of the popular Wordle game, but you are writing the game's logic to find the solution given random guesses from a dictionary of words. With each guess, your solution will whittle down the set of possible solutions. You should be able to see the solution in at most 6 tries or so (though there are cases it wont find it in 6 tries!)

This assignment will exercise and reinforce your knowledge of

  1. Control structures (loops, conditionals)
  2. Using and manipulating strings
  3. Using list, array or set as a data structure
  4. File I/O

Programming

The assignment uses the BRIDGES Game API, so use the provided scaffold and fill in the functions as indicated. The user interaction is to use a key to enter a new word and it will show up with colors as in a typical word game, exact matches (green), matches in wrong positions (orange) and mismatches (blue)

Tasks

Wordle Board !

More Details to Get You Started

Key Press Events - NonBlocking Games

Variables, Colors, and Sprite Symbols

Important Functions

Help

Java

NonBlocking Games Documentation

NamedColor Documentation

NamedSymbol Documentation

C++

NonBlocking Games Documentation

NamedColor Documentation

NamedSymbol Documentation

Python

NonBlocking Games Documentation

NamedColor Documentation

NamedSymbol Documentation