https://github.com/migueldcdev/two-back-game
A dynamic n-back task game with user performance analytics.
https://github.com/migueldcdev/two-back-game
playwright react react-testing-library tailwindcss typescript vitest
Last synced: 3 months ago
JSON representation
A dynamic n-back task game with user performance analytics.
- Host: GitHub
- URL: https://github.com/migueldcdev/two-back-game
- Owner: migueldcdev
- Created: 2024-08-27T07:54:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-11T11:54:42.000Z (over 1 year ago)
- Last Synced: 2025-07-12T16:27:21.990Z (12 months ago)
- Topics: playwright, react, react-testing-library, tailwindcss, typescript, vitest
- Language: TypeScript
- Homepage: https://two-back-game.vercel.app
- Size: 195 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2-Back Game
The n-back task is a continuous performance task that is commonly used as an assessment in psychology and cognitive neuroscience to measure a part of working memory and working memory capacity. The subject is presented with a sequence of stimuli, and the task consists of indicating when the current stimulus matches the one from n steps earlier in the sequence.

## Resources:
- [N-Back (2-back) task](https://www.psytoolkit.org/experiment-library/touch_nback2.html)
- [N-back Wikipedia](https://en.wikipedia.org/wiki/N-back)
## Useful commands:
### Installation
First, install the project dependencies:
```bash
npm install
```
### Development
To start the development server and begin working on your project, run:
```bash
npm run dev
```
### Testing
To run the test suite and ensure everything is functioning correctly, use:
```bash
npm run test
```
To run playwright:
```bash
npx playwright test
```
To run playwright in a specific browser:
```bash
npx playwright test --project=chromium
```
To run playwiright in UI mode:
```bash
npx playwright test --ui
```
### Code formatting
To format your code using Prettier, execute:
```bash
npx prettier . --write
```