Welcome to BurstTime Chronicles, the place where you decide the fate of your digital workers, also known as processes.
They arrive, they wait, they run, and sometimes, they suffer the wrath of your scheduling choices.
Will you be a fair ruler or a tyrant of time? The CPU clock is ticking.
Screen.Recording.2025-10-05.151958.mp4
Every story needs its characters, and in BurstTime Chronicles, three mighty schedulers take the stage:
The "First Come, First Served" approach. It’s polite, orderly, and never cuts the line.
If a process shows up first, it runs first. Simple, but sometimes too patient for its own good.
The "Shortest Job First" algorithm. It adores efficiency and hates waiting.
If you’re small and quick, you’ll be picked first. Longer jobs might just sulk in the queue.
No favorites here. Everyone gets a turn, one time slice at a time.
It keeps things fair, though a bit dizzying, imagine a spinning CPU trying to please everyone at once.
x
Every ruler must measure their reign. In BurstTime Chronicles, your success is judged by two scores:
How long your poor processes stood in line before finally getting their moment to shine.
The smaller this number, the happier your subjects.
The grand total from the moment a process enters your kingdom to the moment it departs victorious.
Lower is better here too, unless you enjoy watching the world burn slowly.
Setting up your realm is easier than declaring sovereignty.
- You’ll need Python 3.x installed.
(If you can runpython --versionin your terminal and see something starting with a 3, you’re good.) - You’ll also need sv-ttk for a sleek modern look. Install it using:
pip install sv-ttk
- Save the script as
bursttime_chronicles.py - Open your terminal in the same folder.
- Run the command:
python bursttime_chronicles.py
- Watch your processes line up, battle for CPU glory, and learn who emerges victorious.
BurstTime Chronicles isn’t just a simulator; it’s a courtroom, a racetrack, and a drama of milliseconds.
Choose your scheduler wisely. Balance fairness with speed. And remember:
every process deserves a little CPU time before the end of its tale.