Skip to content

mutaremalcolm/thymia

Repository files navigation

Take-Home Assessment

NextJs app handling 2-back memory game

Report Bug  ·  Request Feature

👋 Introduction:


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.


🔑 Assessment Requirements:


Required Features:

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.


Bonus Features:

Hosting App / Deployment: Deploy the solution online for easy reviewing.

Light & Dark Mode options: Implement light and dark mode to give users options


🎯 Future potential improvements:


💥 Refactor the code (Game into different components).

💥 Change stimuli from numbers to images.


(back to top)