Ran out of time before I could finish all the frontend code and fully expected to fail.
Start by clarifying requirements and constraints (e.g., word list size, UI polish, animations) to scope the 90-minute build. Then outline a minimal viable architecture (React + state management) and prioritize core game logic (guess validation, color feedback) before UI enhancements. Finally, discuss trade-offs made and potential improvements if given more time.
Pro tip: Demonstrate time management by explicitly allocating minutes to each phase (e.g., 10 min planning, 50 min coding, 20 min testing, 10 min polish) and stick to it. This shows you can deliver under pressure without over-engineering.
Ask questions to understand expected features (e.g., daily word, hard mode, animations) and constraints (e.g., no external libraries, mobile responsiveness). This ensures you build what matters most.
Sketch component structure (e.g., Board, Keyboard, Game) and state management (e.g., guesses, current guess, game status). Decide on data structures for word list and guess evaluation.
Code the guess validation (length, word list), color feedback algorithm (correct, present, absent), and win/loss conditions. Use a simple UI to test logic quickly.
Create the grid, keyboard, and input handling. Add basic styling and ensure the game is playable. Prioritize functionality over polish.
Manually test edge cases (e.g., duplicate letters, invalid words). If time permits, add small enhancements (e.g., animations). Be ready to explain what you'd do with more time.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.