πŸ₯½ Wordle lab breakdown

Depending on your existing experience with Unison, you can pick and choose how much direction and information you need about each of the following components. In broad strokes, this is how we suggest tackling the problem. We've provided some stub signatures and each section contains a link to a more detailed page. At the end we've listed some options for extending the project that we won't dive into here.

Install and set up the UCM

  • You should have a codebase created, thebasenamespace downloaded, and your authorship and license set up before starting.

πŸ‘‰More details for installation

Core logic and data modeling

  • Implement Wordle’s core comparison logic: given a 5 letter target word and a 5 letter user guess, return the guess with each character annotated with one of the three Wordle result options

πŸ‘‰More details for core logic

Rendering a guess to the console

  • Colorize console feedback withStew's ansi libraryfrom Unison Share
  • Print out a rendered result to the console with IO

πŸ‘‰More details for rendering guesses

Input validation and error handling

  • Validate length of guesses
  • Rerunning console interactions

πŸ‘‰More details for input validation

Game loop state and dictionary

  • Querya provided file of 5 letter wordsfor more validation options
  • Write the loop which captures the user's guesses using IO and other abilities
  • Run wordle, package it for sharing

πŸ‘‰More details for game loop state

Wordle solver challenge task

  • Write a wordlesolver:see if it can outcompete your human friends

πŸ‘‰Optional: Wordle solver details

Additional challenges

πŸ‘‰Optional: More challenges

That's it!

πŸ–₯Give it a whirl! πŸŽ‰