Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Create wordle game #9

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

tomasreimers
Copy link
Contributor

@tomasreimers tomasreimers commented Feb 21, 2022

This PR creates a wordle-like game which users can play.

Screen Shot 2022-02-21 at 2 51 37 PM

The game is currently deployed here: https://withgraphite.github.io/wordle-tutorial/

Interesting files to pay attention to are:

  • ./package.json (list of deps)
  • ./App.tsx (majority of code for the game)
  • ./App.scss (style)
  • ./dictionary.json (full list of words)

The rest of this change is primarily scaffolding introduced by create react app (with a Typescript template).

Some features of the game are:

  • Picks a random word
  • Keeps track of past guesses
  • Shows which letters are correct (in either green or yellow depending on whether they're in the right position)
  • Has a reset button to restart the game

In addition, we've added a deploy.sh script in the root of this repo to deploy this to gh-pages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant