Computer science, through discovery

Before the code,
there was a
reason.

Someone needed to count. Someone wanted a machine to remember. Someone needed to send a message.

CodeStory turns those needs into stories you can step inside — and experiments that help the ideas click.

A short interactive preview. No signup needed.

An idea needs a reason to matter

What if you discovered computers for yourself?

A definition tells you what a bit is. A problem gives you a reason to invent one.

You arrive on an island. Inside an abandoned workshop, you find a damaged radio and a notebook full of unfinished ideas. To ask for help, you will need to understand the tools around you.

The first question is simple: how could these switches record your supplies? Later, the questions grow. How could a circuit add? How could a machine remember? How could a message travel beyond the shore?

Each discovery becomes a tool for the next problem. You learn the name of an idea after you have a reason to care about it.

The learning loop

A story you take part in.

Understanding grows when you can connect an idea to a purpose, test it yourself, and see where it leads.

01 / A reason

Something needs solving.

Count supplies, automate a calculation, or send a signal. The story gives an abstract concept a concrete purpose.

02 / An experiment

You get to change things.

Flip a switch. Test a prediction. Watch the result. Build your understanding by doing something with the idea.

03 / A connection

The next idea makes sense.

Each chapter builds on what you discovered, connecting small concepts into an understanding of computing.

Playable preview / About 3 minutes

The silent workshop.

The radio is silent. A note on the desk reads: “Start small. A machine can only work with the distinctions you give it.” Your first three discoveries begin here.

Discovery 1 of 3 / A difference

Give the machine two states.

You find a battery, a lamp, and a switch already wired together. Close the switch. For the first time, something in the workshop responds.

Your task: turn on the lamp.

A switch gives us two distinguishable states. We can agree to call off “0” and on “1”. That is enough to represent one bit of information.

Workshop power circuit
01 / 03

This preview uses simplified simulations and prebuilt components. The island is a fictional learning setting, not a reconstruction of computing history. The full platform is in development.

Where the story could go / Planned journey

From a single bit
to a connected world.

The island is one way in. We also want to follow the real motivations behind computing: calculating reliably, automating instructions, storing information, and sharing it over distance.

01 / Represent

Give information a form.

Numbers, bits, and logic. How can physical states stand for an idea?

02 / Remember

Keep more than a result.

Memory and stored information. How can a machine hold something for later?

03 / Program

Choose what comes next.

Algorithms and instructions. How do simple steps produce useful behavior?

04 / Connect

Reach beyond the shore.

Networks and communication. How do machines exchange a message?

Why I started CodeStory

I had the degree.
I was still searching for understanding.

Zoheyeb · Founder

I graduated in computer science, but I still struggled to understand what it all really meant. Learning became urgent when I needed it for my job.

Harvard’s CS50, taught by David J. Malan, and other thoughtful courses helped the ideas click. That experience changed how I thought about education. The way an idea is introduced can make all the difference.

I bought codestory.in because I wanted to explore a different beginning: a story that makes you curious, a problem that makes a concept useful, and an experiment that lets you discover it yourself.

CodeStory is an early-stage project growing from that belief. This preview is a first step toward a more connected, interactive way to learn computer science from the ground up.

Building the first chapters

What would you like to discover?

If you have ever memorized a concept without understanding it, I would love to hear your story. Learners, educators, and potential collaborators are welcome.

Write to Zoheyeb ↗