We will be undergoing planned maintenance on January 16th, 2026 at 1:00pm UTC. Please make sure to save your work.

Inspiration

I was inspired by a tv program where people solve challenging quizzes. One brain training exercise called 'n back' was introduced in the show which inspired me to build something more challenging.

What it does

Dual N back forces players to pay 100% attention to it.

The game is designed to enhance players' memory skills, and it shows series of numbers and positions one at a time. Players are supposed to memorize N-th number and position ago and compare those to current number and position. The higher the N, more challenging it becomes.

How I built it

I built in Python. I used PyGame library. That allowed me to create graphical components.

Challenges I ran into

There were many challenges.

  • As code gets longer, it also began to be more messy and unorganized. As I tried, I feel like I got distracted by focusing on individual trees instead of looking at an entire forest?

  • I wanted to connect the game to a website, maybe that collects all players' records or shows statistics of individual players, but I couldn't do it but I would like to make one.

Accomplishments that I'm proud of

  • At first I didn't know how to convert my thoughts into a real code. I wrote down my ideas and I broke down into smaller pieces. Soon I realized that I needed to be able to control time in a loop, control different game states, clicking objects functionality, displaying texts functionality, etc.

  • I am proud of the fact that I came up with different controllable settings. Players can customize their settings like N, the number of choices for 'number', the number of choices for 'position', the number of questions, time duration in each question etc.

  • I am proud of creating level system. I hope this motivates people to play more.

What I learned

  • I've learned the importance of making good names for variables.

  • I've learned to think, 'Will I be able to understand this code in 6 months?'

  • I've learned to use class.

What's next for Dual N back

I want to create Dual N back or similar things on web to connect with people more easily.

Built With

Share this project:

Updates