Codele is a word guessing game inspired by programming, where the goal is to discover the word of the day related to the world of code. In each round, the player has up to 6 attempts to guess the secret word, typing possible answers in the indicated field. After each attempt, the letters are highlighted in different colors to indicate whether they are correct, present in another position or absent in the word.
Rohan the Codebreaker (my code)
Check their projects out: Ruby Mine - for Railway YSWS!, Jumpstart Project Showcase Page, Math Map, DNA-cryption, Euclidia, Personal Page
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Quick update! Today, I laid the foundation for the game's state management using React Context.
I created two main contexts to handle the core logic:
ProgressContext: This will be the brain of the game, tracking the player's progress, the game over state, and handling updates or resets. The use of useRef here will prevent multiple game over triggers.
TermContext: A simple but crucial context. Its only job is to fetch and provide the daily term to all components that need it.
This separation keeps the codebase clean and scalable. With this structure in place, I can now focus on building out the UI and connecting it to this logic.
Adding the option to change the theme, between dark, light and system