This project contains a collection of N-back and other cognitive tasks with an emotional component.
For a review of the cognitive benefits of emotional n-back training, see this article.
There's three main classes of games included:
- Emotional N-Back games
- Challenges working memory and emotional regulation
- Emotional Stroop games
- Challenges cognitive control (inhibition) and emotional regulation
- Speed-reading with distraction
- Meant to be read out loud
- Speed-reading out loud is thought to improve working memory, verbal fluency, and processing speed
This project uses uv for package management. Before you begin, please install uv.
Please refer to the official uv documentation.
-
Clone the repository:
git clone https://github.com/paulvinell/emotional-n-back.git cd emotional-n-back -
Install the dependencies using
uv:uv sync
The project uses typer to create a command-line interface. You can see all available commands by running:
uv run nback --helpThe project requires the KDEF and TESS datasets. You can download and prepare them using the following commands:
uv run nback kdef
uv run nback tessAlternatively, you can use the Makefile:
make dataThis will download both datasets. You can also download them individually:
make kdef
make tessFor now, the MAV and text datasets are included in the repository.
Contributions are welcome! Please read CONTRIBUTING.md for details.
This project is licensed under CC BY-NC 4.0. See the LICENSE file for details.