Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

loethen/freefocusgames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

420 Commits

Repository files navigation

Brain Training Games

License: AGPL-3.0 Website Next.js TypeScript

Open Source Cognitive Training Collection

A curated collection of brain training games, with a primary focus on attention and concentration improvement. Built from the ground up using Next.js 15, TypeScript, and Tailwind CSS, featuring transparent implementations of scientific cognitive paradigms.

๐Ÿ‘‰ Play Online ๐Ÿ‘ˆ

Experience the full-featured, optimized version of these games on our official website.


๐Ÿง  Why This Project?

This repository contains the source code for FreeFocusGames.com, a collection of cognitive exercises designed to improve:

  • Working Memory
  • Attention Span
  • Processing Speed
  • Cognitive Flexibility

Unlike many proprietary brain training apps, this project provides transparent, scientific implementations of classic cognitive psychology paradigms.

๐ŸŽฎ Included Games & Algorithms

This repository features production-ready implementations of the following cognitive tasks:

The gold standard for working memory training. Based on the research by Susanne Jaeggi, this task requires users to simultaneously track visual and auditory stimuli sequences.

  • Keywords: Fluid Intelligence, Working Memory, Jaime Jaeggi, N-Back Algorithm

A grid of randomly distributed numbers used for speed reading development and peripheral vision training.

  • Keywords: Speed Reading, Attention Control, Peripheral Vision, Focus Grid

A neuropsychological test demonstrating the reaction time delay between congruent and incongruent stimuli. Measures cognitive flexibility and executive function.

  • Keywords: Selective Attention, Cognitive Flexibility, Executive Function, Inhibition Control

A millisecond-precision test to measure your reaction speed. Click as fast as you can when the screen changes color. Widely used in sports science and cognitive research.

  • Keywords: Reaction Time, Reflex Test, Speed Test, Response Time, Human Benchmark

5. Other Cognitive Tasks

  • Pomodoro Timer: Focus timer based on the Pomodoro Technique.
  • Block Memory Challenge: Spatial working memory exercise.

๐Ÿ› ๏ธ Tech Stack

๐Ÿš€ Getting Started

To run this project locally for development or educational purposes:

# 1. Clone the repository
git clone https://github.com/loethen/freefocusgames.git
# 2. Install dependencies
npm install
# or
yarn install
# 3. Run the development server
npm run dev

Open http://localhost:3000 with your browser to see the result.

๐Ÿ“„ License

This project is licensed under the AGPL-3.0 License - see the LICENSE file for details.

  • โœ… Free to use for personal/educational purposes.
  • โœ… Free to fork and modify (changes must be open-sourced).
  • โŒ Cannot be used in closed-source proprietary software.

Built with โค๏ธ for the cognitive science community.

About

Open source collection of cognitive training games (Dual N-Back, Stroop Test, Schulte Table) built with Next.js 15. Improve focus, memory, and attention.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle ใซใ‚ˆใฃใฆๅค‰ๆ›ใ•ใ‚ŒใŸใƒšใƒผใ‚ธ (->ใ‚ชใƒชใ‚ธใƒŠใƒซ) /