Chapter 1 The Night of the Algorithm
The room was silent except for the quiet hum of a computer.
Outside the apartment window, the city lights stretched endlessly across the night like scattered stars trapped on earth. Cars moved slowly along distant roads, their headlights sliding through the darkness.
But inside the room, time felt frozen.
A single desk lamp illuminated a cluttered workspace filled with notebooks, tangled cables, and several empty coffee cups.
At the center of the chaos sat Zain Malik.
His eyes were locked on the computer screen in front of him.
Lines of code streamed across the monitor in a glowing cascade of green and blue text.
To anyone else, it would look like meaningless symbols.
To Zain, it was a language.
A language that described patterns, probabilities, and the strange mathematics behind human behavior.
He leaned forward in his chair, his fingers hovering over the keyboard.
For weeks he had barely slept.
University classes had become background noise. Assignments were finished quickly, conversations with friends were short, and his mind constantly returned to the same thing.
The program.
The algorithm.
The idea that had started as a small curiosity and slowly grew into something much bigger.
Something dangerous.
Zain ran a hand through his messy black hair and glanced at the notebook beside him.
Pages were filled with calculations.
Probability equations.
Machine learning models.
Predictive behavioral patterns.
At the top of one page he had written a simple question weeks ago.
Can crime be predicted?
Most people believed crime was chaotic.
Random.
Unpredictable.
But Zain didn’t believe in randomness.
Not completely.
Human beings followed patterns.
They repeated behaviors.
They made decisions based on emotions, routines, and circumstances.
And in mathematics, patterns could be modeled.
If you had enough data.
Enough processing power.
Enough intelligence in the algorithm.
You could begin to predict outcomes.
The thought had obsessed him.
What if a system could analyze millions of pieces of information at once?
Crime records.
Traffic patterns.
Social media posts.
Location histories.
Public surveillance footage.
Financial data.
Tiny fragments of information that, when combined, might reveal something hidden.
A pattern.
A warning.
A prediction.
Zain turned back to the screen.
At the top of the program window, a bold title glowed softly.
PROJECT ORACLE
Underneath it, in smaller letters, was the full name.
Operational Risk Analysis & Crime Learning Engine
The name had started as a joke.
But over time it had started to feel strangely appropriate.
In ancient mythology, an oracle was someone who could see the future.
Zain wasn’t claiming his program could do that.
Not exactly.
But if the mathematics was correct…
If the machine learning models were accurate…
Then ORACLE could analyze behavioral probabilities with enough precision to predict certain events before they happened.
Not prophecy.
Prediction.
He took a slow breath.
Tonight was the first full test.
His fingers moved across the keyboard.
He checked the dataset connections again.
Crime statistics from public databases.
City traffic data.
Anonymous social media feeds.
Weather patterns.
Location clustering models.
Everything was connected.
The system had been learning silently in the background for hours.
Now it was time to see if it could actually produce a meaningful result.
Zain leaned closer to the screen.
His heart was beating slightly faster now.
“Alright,” he murmured quietly.
“Let’s see what you can do.”
He typed the final command.
RUN PREDICTION MODEL
His finger hovered over the Enter key.
For a brief moment, doubt crept into his mind.
What if the program crashed?
What if the algorithm produced meaningless data?
What if weeks of work had led to nothing?
He exhaled slowly.
Then pressed Enter.
The system immediately came to life.
A new window opened.
Lines of data began moving rapidly across the screen.
Processing.
Analyzing.
Cross-referencing.
The computer’s cooling fans whirred louder as the processor struggled to handle the massive calculations.
Zain watched the progress bar appear at the bottom of the window.
DATA ANALYSIS INITIALIZED
0%
5%
12%
The numbers climbed slowly.
Zain leaned back in his chair, staring at the screen with intense focus.
The algorithm was running through thousands of statistical models.
Bayesian probability calculations.
Behavioral prediction matrices.
Machine learning pattern recognition.
Every second, the system analyzed thousands of potential outcomes.
The progress bar moved forward again.
27%
41%
53%
Zain felt his pulse quicken.
This was the moment everything depended on.
If the algorithm failed now, the entire concept might be flawed.
But if it worked…
If it actually produced a valid prediction…
Then Project ORACLE might be far more powerful than he originally imagined.
The progress bar jumped again.
68%
79%
91%
The computer paused briefly.
Zain leaned forward.
“Come on…” he whispered.
Then suddenly—
The screen changed.
The progress bar disappeared.
A small notification box appeared in the center of the monitor.
PREDICTION GENERATED
Zain blinked.
“That was fast,” he said quietly.
He hadn’t expected the algorithm to produce anything useful on the first run.
Still curious, he clicked the notification.
A new window opened.
At first the screen showed only a few lines of information.
Then slowly, more data appeared.
Zain’s eyes scanned the results carefully.
The first line read:
HIGH PROBABILITY CRIMINAL EVENT DETECTED
Zain frowned slightly.
“Interesting…”
He scrolled down.
The next lines appeared.
Crime Type: Robbery
Probability: 82%
Predicted Location: Sector Market – Block D
Predicted Time: Tomorrow – 4:32 PM
Zain leaned back slowly.
For a moment he simply stared at the screen.
Then he let out a short laugh.
“There’s no way.”
The system had only analyzed a partial dataset. It didn’t have access to enough information to produce an accurate prediction.
Most likely it had simply generated a statistical possibility.
Still…
82 percent probability was unusually high.
He leaned forward again and studied the details more carefully.
The algorithm had highlighted several factors contributing to the prediction.
Unusual financial activity in the area.
Recent social media posts mentioning large cash deliveries to a nearby store.
Traffic pattern anomalies.
Crime history clusters within a three-kilometer radius.
Zain’s curiosity grew.
The logic was actually… reasonable.
But that didn’t mean the event would happen.
Predictions were only probabilities.
Nothing more.
Still, he decided to save the result.
Just in case.
He clicked the save icon and created a new file.
Prediction_001
After saving the file, Zain leaned back in his chair again.
The room suddenly felt very quiet.
The algorithm continued running quietly in the background, updating its internal models.
Zain glanced at the digital clock on the wall.
12:48 AM.
His body was exhausted, but his mind was wide awake.
If the system’s logic was even partially correct…
Then ORACLE might already be capable of analyzing real-world patterns.
He reached for his phone and opened his messages.
There was only one person he wanted to share this with.
Hamza Qureshi.
Hamza had been his closest friend since their first year at university.
Where Zain was quiet and analytical, Hamza was energetic, sarcastic, and always ready to joke about everything.
Zain typed a quick message.
Zain:
You awake?
It took only a few seconds for the reply to appear.
Hamza:
It’s 1 AM bro. Of course I’m awake.
Zain smiled slightly.
He typed again.
Zain:
The algorithm ran.
Three small dots appeared as Hamza began typing.
Hamza:
Did it crash the computer or take over the world?
Zain chuckled.
Zain:
Neither.
Another message popped up.
Hamza:
So what happened?
Zain looked back at the monitor.
The prediction window was still open.
He hesitated for a moment before typing.
Zain:
It made a prediction.
Several seconds passed.
Then Hamza replied.
Hamza:
Prediction of what? Weather?
Zain typed slowly.
Zain:
A robbery.
Another pause.
Then Hamza sent a message that made Zain laugh out loud.
Hamza:
If your laptop starts predicting crimes I’m officially dropping out of computer science.
Zain shook his head.
But deep inside, he couldn’t ignore the strange feeling forming in his mind.
What if the prediction actually happened?
What if ORACLE had correctly identified a pattern that most people would miss?
It seemed unlikely.
But not impossible.
Zain looked back at the glowing text on the screen.
Crime Type: Robbery
Time: 4:32 PM tomorrow
He leaned back and folded his arms.
For now, it was just an experiment.
Just data.
But somewhere deep in his thoughts, a quiet voice whispered something unsettling.
If the prediction came true…
Then he hadn’t just created a program.
He had created something capable of seeing the future.
And that possibility was both thrilling…
and terrifying.
Zain stared at the prediction window for several minutes.
The words on the screen felt strangely heavy now.
Crime Type: Robbery
Probability: 82%
Predicted Location: Sector Market – Block D
Predicted Time: Tomorrow – 4:32 PM
He knew exactly where Sector Market was. It was one of the busiest commercial areas in the city—crowded with small shops, restaurants, and street vendors.
Hundreds of people walked through that area every day.
If a robbery happened there, it wouldn’t be unusual.
But the idea that a computer program could predict it ahead of time felt… unsettling.
Zain closed the prediction window and leaned back in his chair.
“Relax,” he said quietly to himself.
“It’s just probability.”
Still, curiosity kept pulling his eyes back to the screen.
The ORACLE system continued running quietly in the background.
Graphs shifted.
Data updated.
Algorithms refined their predictions.
It almost looked alive.
Zain rubbed his tired eyes and stood up from the chair.
His back cracked slightly after sitting for so long.
He walked to the small kitchen in the corner of the apartment and poured himself a glass of water.
The cold water helped clear his thoughts.
Maybe he was overthinking everything.
Machine learning systems produced predictions all the time. That didn’t mean they were always correct.
Weather forecasts were wrong half the time.
Economic models failed constantly.
There was no reason to believe ORACLE would be any different.
He returned to his desk and glanced at the clock again.
1:16 AM.
He should sleep.
But his mind refused to slow down.
Instead, he reopened the prediction file.
The system had generated a detailed probability report explaining how it reached the robbery prediction.
Zain scrolled through the information carefully.
Clusters of recent theft reports.
Increased cash transactions at several nearby businesses.
Traffic patterns suggesting an unusually busy market day tomorrow.
Individually, the signals meant nothing.
But together…
They created a pattern.
A possibility.
Zain leaned closer to the screen.
For the first time, he felt something deeper than curiosity.
He felt respect for the algorithm.
Because the logic was… elegant.
“Not bad,” he whispered.
He saved the updated prediction report and finally shut down the program.
The screen went dark.
The room suddenly felt quieter than before.
Zain turned off the desk lamp and walked toward his bedroom.
But before entering, he glanced back at the computer one last time.
For some reason, he felt like he had just opened a door he might not be able to close again.
The next morning arrived far too quickly.
Sunlight slipped through the curtains and filled the apartment with soft golden light.
Zain groaned as his alarm buzzed loudly beside his bed.
He reached out blindly and silenced it.
For a moment, he considered skipping university entirely.
But then his eyes opened fully.
And the memory of last night returned instantly.
Project ORACLE.
The prediction.
The robbery.
Zain sat up immediately.
He grabbed his phone from the bedside table.
Several notifications were waiting.
Most were normal messages from university groups and social media apps.
But one notification stood out.
A message from Hamza.
The timestamp showed it had been sent an hour ago.
Zain opened it.
Inside the message was a link to a news website.
Below the link, Hamza had written only three words.
“You need this.”
Zain’s stomach tightened slightly.
He tapped the link.
The article loaded slowly.
For a moment, the page remained blank.
Then the headline appeared.
ROBBERY REPORTED AT SECTOR MARKET – BLOCK D
Zain’s heart skipped.
He read the headline again.
Then again.
It couldn’t be real.
His fingers trembled slightly as he scrolled down the article.
The report explained that a small electronics store had been robbed late in the afternoon.
Witnesses reported that a masked man had entered the shop with a weapon and stolen a large amount of cash before escaping.
Police were still searching for the suspect.
Zain continued reading until he reached the detail that made his chest tighten.
Time of the incident: 4:31 PM
For several seconds, Zain couldn’t move.
His mind replayed the prediction from the night before.
Predicted Time: 4:32 PM
Only one minute difference.
His breathing slowed.
“Impossible…”
He quickly got out of bed and rushed toward the living room.
The computer sat silently on the desk.
Zain powered it on immediately.
The machine hummed to life.
As soon as the system booted up, he opened the ORACLE folder.
Inside it was the file he had saved.
Prediction_001
His cursor hovered over it.
For a moment he hesitated.
Then he opened the file.
The prediction window appeared exactly as it had last night.
Same details.
Same probability.
Same location.
Same time.
Zain felt a cold chill move down his spine.
The robbery had happened.
Almost exactly as ORACLE predicted.
His phone buzzed again.
Another message from Hamza appeared.
Hamza:
Bro tell me you’re seeing this.
Zain typed quickly.
Zain:
Yeah.
A reply came instantly.
Hamza:
This is not funny.
Zain:
I’m not joking.
There was a long pause.
Then Hamza sent another message.
Hamza:
Your program predicted this?
Zain looked at the screen again.
The answer felt heavier than it should have.
Zain:
Yes.
Several seconds passed.
Then Hamza replied.
Hamza:
Okay… that’s actually scary.
Zain leaned back in his chair slowly.
His eyes moved between the news article and the prediction file.
The numbers matched too closely to be coincidence.
The location.
The type of crime.
The time.
All of it.
His mind raced with possibilities.
Maybe ORACLE had simply identified an obvious pattern.
Maybe the conditions made the robbery extremely likely.
Maybe the prediction was just a statistical accident.
But deep down, Zain knew something important had happened.
The algorithm had worked.
His program had predicted a real crime before it happened.
He looked again at the glowing title at the top of the program window.
PROJECT ORACLE
For the first time, the name felt less like a joke.
And more like a warning.
Zain’s thoughts were interrupted by another message from Hamza.
Hamza:
You need to show me that program.
Zain hesitated.
Until now, ORACLE had been a private experiment.
Just a university project.
But if the system was capable of accurate predictions…
Then things could change very quickly.
People would want access to it.
Police.
Companies.
Maybe even criminals.
He closed the news article and stared at the code on the screen.
The algorithm continued updating its internal models quietly.
As if nothing unusual had happened.
But something had happened.
Something important.
Zain whispered softly to himself.
“What exactly did I build?”
The question hung in the silent room.
Outside the window, the city continued its normal routine.
Cars moved.
People walked through busy streets.
Life went on without noticing the quiet discovery happening inside a small apartment.
But Zain had the strange feeling that things were about to change.
Because if ORACLE could predict one crime…
Then it could predict more.
And sooner or later, someone else would notice.
Zain stared at the glowing screen.
Unaware that the program he had just created would soon predict something far more terrifying than a robbery.
Something that would turn his entire life upside down.
Because somewhere deep inside the system’s calculations…
A future prediction was already forming.
And that prediction would eventually contain two simple words.
Target: Zain Malik