The project focuses on developing a gamified version of the 2-back task, a cognitive assessment used to measure working memory. In this task, users see a sequence of letters and must identify if the current letter matches the one shown two steps earlier.
I selected Next.js for its built-in routing capabilities and utilized a global React context to manage state across components. The game features a random letter generator that displays stimuli at set intervals. Additionally, I implemented error logging, simulated post requests, and added a toggle function to show event logs as toast notifications.
✔ Repository Setup & Version Control: Setup GitHub with ReadMe
✔ User Interaction: Create a React app allowing user name input before starting the 2-back task.
✔ Task Completion Conditions: End task after either three errors or displaying 15 letters.
✔ Fully Responsive & Mobile Compatibility: Ensure UI is responsive and mobile-friendly.
✔ Hosting App / Deployment: Deploy the solution online for easy reviewing.
✔ Light & Dark Mode options: Implement light and dark mode to give users options
💥 Refactor the code (Game into different components).
💥 Change stimuli from numbers to images.