CodeNFacts
CodeHub
Home

All Categories


Sign In
CodeNFacts / brain-arena

Brain Arena

Not one big game - twenty small ones. Each Brain Battle takes 2 to 5 minutes and teaches something real: debugging, algorithms, systems, SQL, Linux, even digital logic. Play one between classes.

20 battles found

// find the bug, not the featuresignature

Code Detective

One snippet, one hidden bug. Spot it before the clock runs out.

3-5 minPlay
// O(log n) wins the racesignature

Algorithm Race

Every move is an algorithm. Pick the fastest path to the finish.

2-4 minPlay
// int float double char bool

Memory Compiler

Memorize the sequence before it vanishes, then rebuild it from scratch.

2-3 minPlay
// where's waldo, but it's a NullPointerException

Bug Hunter

A full editor, ten bugs hiding in plain sight. Find them all.

4-5 minPlay
// output = HIGH

Logic Circuit Builder

Drag AND, OR, NOT and XOR gates until the output reads TRUE.

3-5 minPlay
// SELECT * FROM freedom;

SQL Escape Room

The door only opens for a correct query. Write your way out.

3-5 minPlay
// access granted

Terminal Hacker

Looks like a hack. Is actually you learning real Linux commands.

3-5 minPlay
// clarity + structure + detail

AI Prompt Battle

Write the prompt that gets the image right. AI scores your craft.

3-4 minPlay
// O(1) one-shots everything

Time Complexity Fight

Enemies attack. Your weapon is Big-O. Choose wisely.

2-4 minPlay
// LIFO or it falls

Stack Tower

Blocks fall fast. Push, pop and peek before the tower collapses.

2-3 minPlay
// 25 -> 11001

Binary Hero

Convert decimal to binary before the enemy's timer hits zero.

2-3 minPlay
// *ptr != nullptr, hopefully

Pointer Maze

Navigate raw memory, collect variables, avoid segfaults.

4-5 minPlay
// print(output) // ?

Code Speed Challenge

No typing. Just thinking. Predict the output, fast.

2-3 minPlay
// greedy, bfs, dfs — pick right

Complexity Escape

A maze that punishes the wrong algorithm. Find the shortest path.

3-5 minPlay
// daily challenge, no mercy

Brain Blitz

60 seconds. Every subject. Combo multiplier if you keep the streak.

1 minPlay
// next(seq) => ?

Pattern Master

3, 6, 12, 24... what's next? Placement-prep pattern spotting.

2-3 minPlay
// /^[a-z]+$/ or bust

Regex Ninja

Strings fly past. Slice the ones your regex matches.

2-4 minPlay
// gcc says what?

Compiler Run

Predict: compiles clean, runtime error, or syntax error?

2-3 minPlay
// process vs thread, go

Interview Simulator

An AI interviewer asks. You answer. It scores and unlocks badges.

4-5 minPlay
// checkmate is O(1) lookaheadsignature

Code Chess

Loops, functions, arrays and queues as chess pieces. Think in algorithms.

5 minPlay