Thanks to visit codestin.com
Credit goes to github.com

Skip to content

al3xsus/brain-train

Repository files navigation

title description slug created updated tags coverImage liveDemo techStack canonical mediumURL
Brain Train – Stroop Effect Game in React
Brain Train is a web app offering memory, focus, and logic games to boost cognitive health.
brain-train
2025-01-30
2025-01-30
brain-training
memory
cognitive-app
react
typescript
spa
semantic-ui
cognitive-games
/public/images/brain-train-cover.webp
React
TypeScript
Semantic UI
SVG

Brain Train – Stroop Effect Game in React 🧠

MIT License React TypeScript Deploy with GitHub Pages Last Commit

Social preview of Brain Train

Brain Train is a web-based game inspired by the Stroop Effect, a psychological phenomenon where it's difficult to name the color of the word instead of reading the word itself.

Built in memory of my mother and inspired by the rising need for tools that help older adults maintain cognitive function, this app uses colors, timing, and randomization to challenge users.

👉 Read the full blog post on Medium


🚀 Features

  • Color-word matching game based on the Stroop effect
  • Configurable rows, columns, speed, and direction
  • SVG text rendering for precision and responsiveness
  • Interactive play/pause logic with timed highlighting
  • Built using React hooks and TypeScript
  • Clean UI powered by Semantic UI React

🧰 Tech Stack

Layer Tools Used
Frontend React + TypeScript
UI Semantic UI, SVG
Logic Custom randomization & game engine

🎮 Gameplay Logic

  • Randomly generated color-word pairs
  • Active cell highlighted over time based on selected direction
  • Use of SVG for consistent, scalable rendering
  • Efficient use of React hooks to manage intervals and state

⚙️ Installation

git clone https://github.com/al3xsus/brain-train.git
cd brain-train
npm install
npm start

Open http://localhost:3000 to run it locally.


🧩 Related Blog Posts


💡 Background & Purpose

This app was built with the hope that it could help others strengthen cognitive function, particularly older adults at risk of mental decline.

“By 2050, one in four people in Europe and North America could be aged 65 or over.” — UN World Population Prospects, 2019


📜 License & Credits

Built with ❤️ using React, SVG, and a desire to make brain health tools accessible to all. License: MIT


🔗 Links


🖼️ This repository includes a social preview image for enhanced link sharing.

About

Brain Train is a web app offering memory, focus, and logic games to boost cognitive health.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published