Overview & What Is Bad Time Simulator?
Bad Time Simulator is a faithful browser-based recreation of the legendary Sans boss encounter from Toby Fox's indie masterpiece Undertale. Originally programmed by developer jcw87 using HTML5 and Canvas, it isolates the climax of the Genocide Route into an immediate, zero-barrier web application running at a smooth 60 frames per second.
In the original Undertale, reaching Sans requires completing an arduous Genocide run—exhausting every enemy kill counter across the Ruins, Snowdin, Waterfall, and Hotland/CORE. If a player wanted to experience or practice the Sans encounter, they either had to maintain dedicated save state backups or replay several hours of gameplay. Bad Time Simulator solved this by extracting the boss battle entirely, allowing players to practice individual patterns, test their reaction speed, and master the fight directly in their web browser without installing additional software.
If you prefer playing offline or want to practice without an active internet connection—such as during travel, network dropouts, or offline study breaks—you can also use our free Bad Time Simulator Chrome Extension. The extension packages all sprites, audio cues, MEGALOVANIA tracks, and battle mechanics locally into your browser, delivering instant 60 FPS execution, zero network latency, and convenient one-click access even when completely offline.
While the simulator replicates the music ("MEGALOVANIA"), audio cues, bone geometry, and blaster behaviors with remarkable accuracy, seasoned players should be aware of a few gameplay distinctions:
- Hitbox Dimensions: The heart collision box in the browser engine has slightly different boundary tolerances than Toby Fox's GameMaker original. Precision pixel-skimming behaves subtly differently.
- Moving Platform Acceleration: As documented in jcw87's project notes, platforms in the
sans_platforms4andsans_platforms4hardattacks start at full velocity rather than smoothly accelerating from rest. Tactics that rely on waiting out platform acceleration in the original game need slight timing adjustments here. - Turn Mechanics: Sans's mid-fight monologues and battle-menu turns are preserved, allowing players to experience the pacing, stamina drainage, and psychological rhythm of the full encounter.
How to Play Bad Time Simulator
Bad Time Simulator combines turn-based RPG menu management with high-speed real-time bullet-hell dodging. You control Frisk's SOUL—represented as a small heart inside a dynamic battle box. Surviving against Sans requires mastering two distinct gameplay phases:
1. Turn Selection (FIGHT, ACT, ITEM, MERCY)
Between Sans's attack waves, control returns to the classic Undertale battle interface:
- FIGHT: Choosing FIGHT prompts an oscillating target bar. Sans will effortlessly dodge your attack ("what, you think i'm just gonna stand there and take it?"). However, you must still choose FIGHT on almost every turn: Sans cannot be damaged by conventional attacks, but each FIGHT command expends his hidden stamina, eventually exhausting him after 23 turns.
- ACT: Allows you to Check Sans's stats (ATK 1, DEF 1 — "The easiest enemy. Can only deal 1 damage. Can't keep dodging forever. Keep attacking."). Checking provides narrative context but does not drain his stamina.
- ITEM: In Normal Mode, you carry restorative items to heal damage taken from previous waves. Consuming an item spends your turn without advancing Sans's stamina drain.
- MERCY: Spare or Flee. Sans offers a fake mercy truce at the battle's midpoint (Turn 13). Attempting to Spare him triggers an unavoidable, fatal bone cage attack ("geeeeeettttttt dunked on!!!").
2. The Dynamic Battle Box & SOUL States
Once your turn ends, the battle box dynamically resizes and Sans unleashes his attack. Your SOUL operates in two alternating modes:
- Red SOUL (Free Movement): You have complete 360-degree directional freedom within the bounding box. Use tiny directional taps to weave between dense blaster beams and sweeping bone walls.
- Blue SOUL (Gravity Jump Mode): Sans flashes his blue eye and telekinetically slams your SOUL against the floor, ceiling, or side walls. Gravity anchors your SOUL to that surface, requiring you to jump in the opposite direction to clear incoming bone beds and gaps.

Bad Time Simulator Controls & Complete Keybind Guide
Bad Time Simulator uses precise keyboard controls designed for sub-second reaction times. Verify your key mappings below before starting your run:
| Key | Action |
|---|---|
| Arrow keys | Move Heart (SOUL) / Navigate menus / Jump against gravity |
| W / A / S / D | Alternative directional movement and jump keys |
| Z / Enter | Confirm menu selection / Trigger FIGHT, ACT, ITEM, MERCY / Advance dialogue |
| X / Shift | Cancel / Speed up dialogue text / Return to main menu from Single Attack |
| Up arrow / W | Jump upward with Blue SOUL when gravity is downward |
| Down / Left / Right | Jump opposite the direction of wall or ceiling gravity slams |
Pro Tip: If controls stop responding after typing in search or clicking away, click once inside the game frame to return browser focus. For blue-soul jumps, release the jump key quickly for a low hop, or hold for a full-height leap.
Critical Mechanical Nuances You Must Master
Most player deaths in Bad Time Simulator do not come from slow reflexes—they come from misunderstanding the physics engine. Keep these three core principles in mind:
1. Tap vs. Hold Jump Physics: The Blue SOUL features variable jump height. Holding ↑ propels the heart to its maximum jump apex, while tapping ↑ for 100 milliseconds produces a low micro-hop. In bone gap patterns, holding the key too long causes your heart to collide headfirst into the ceiling bones. Training yourself to short-tap is the single most important skill in the entire game.
2. Multi-Directional Wall Slams: During Phase 2, Sans repeatedly tosses your heart against the left, right, and top walls. Gravity immediately pulls toward whichever wall you slam into. To dodge the bone spikes erupting from that wall, you must jump away from that surface (e.g. if thrown into the right wall, press ← to leap off it).
3. Fast Exit with X: When practicing in Single Attack or Practice mode, you do not need to let Sans finish an entire attack sequence if you made an early mistake. Press X at any point to immediately exit back to the menu and restart.
Game Modes In-Depth Breakdown
Bad Time Simulator features five dedicated modes catering to players at every skill tier—from first-time learners to speedrunners and community modders. Understanding the purpose of each mode is key to efficient practice:
1. Normal Mode (Full Battle Sequence)
Target Audience: Experienced players attempting a complete, unbroken boss clear.
Normal mode recreates the full 23-turn Genocide encounter exactly as designed. It includes all opening dialogue, battle menu turns, the Turn 13 fake spare intermission, and the intense Phase 2 assault ending with Sans's "Special Attack". Damage taken is persistent across turns, Frisk is capped at 92 HP, and running out of health triggers a true Game Over.
For a separate fan-made challenge with harsher damage and a choice between two difficulty versions, try Undertale Hard Mode Sans Fight.
2. Practice Mode (Failure Recovery Sandbox)
Target Audience: Beginners and intermediate players learning attack rhythms.
Practice mode runs through the fight sequentially, but with an intelligent failure recovery safeguard: if your health drops below the safety threshold on any pattern, a bold red FAILURE notice flashes across the screen, the attack aborts, your HP is immediately restored to 92/92, and that exact attack restarts instantly. You only advance when you pass an attack cleanly.
3. Endless Mode (Endurance Survival)
Target Audience: Bullet-hell veterans training stamina and consistency.
Endless mode eliminates all battle-menu downtime and ITEM breaks. Upon selecting Endless, you choose between Phase 1 (standard bone jumps and platforming) and Phase 2 (rapid gravity slams and blaster barrages). The chosen phase's attacks loop infinitely without stopping, testing how many seconds you can survive without error.
4. Single Attack Mode (Pattern Isolation)
Target Audience: Players struggling with one specific attack pattern.
Single Attack provides a direct menu selector for all 24 individual Sans attack routines across 5 paginated screens. If the rotating blaster ring or the moving platform sequence consistently ruins your Normal runs, you can launch that exact pattern in under two seconds, drill it repeatedly, and press X to return.
5. Custom Attack Mode (CSV Scripting Engine)
Target Audience: Modders, level designers, and community creators.
Custom Attack turns the simulator into an open-ended Undertale battle editor. Players can load external .csv script files that specify custom bone timings, blaster trajectories, platform speeds, and gravity shifts. It features an integrated documentation link, file picker, and execution trigger.
sans_intro, sans_bluebone, and sans_bonegap1.

Key Attack Patterns, Phases & Signature Challenges
Sans's battle consists of distinct phases and recurring attack archetypes. Mastering each mechanic in isolation is the secret to completing the fight:
1. The Opening Slam & Telekinetic Intro (Turn 1)
Sans violates the unspoken rules of Undertale by attacking before your first turn. He telekinetically slams Frisk's heart into the floor, raises a line of lethal floor spikes, and charges synchronized Gaster Blasters across the top and bottom quadrants.
Evasion Strategy: Hold ↑ before Sans finishes his opening hand gesture to buffer an immediate upward jump the microsecond gravity engages. While airborne, tap → to position your SOUL between the upper and lower blaster beam trajectories.
2. Blue Bones vs. White Bones
The fight teaches the fundamental difference between attack colors. White bones cause damage upon any physical contact. Blue bones, by contrast, only cause damage if your heart is actively moving when passing through them.
Evasion Strategy: When blue bones approach your heart, immediately let go of all arrow and WASD keys. Your heart will pass through the blue bone unharmed. Only resume movement once the blue bone has cleared your hitbox and white obstacles approach.
3. Bone Gap Micro-Hopping (sans_bonegap1 & sans_bonegap2)
Sans scrolls vertical bone columns across the box with narrow horizontal gaps. High jumps will launch you directly into the ceiling spikes, while failing to jump causes you to collide with the lower pillars.
Evasion Strategy: Execute rhythmic 120-millisecond taps on the jump key. Allow gravity to pull your heart back to the floor between each column rather than holding jump. Treat it like a precise rhythm game.
4. Moving Platforms & Lethal Floor Spikes
The bottom of the battle box is completely covered in lethal white bones, and green platforms glide horizontally across the arena. In this simulator, platforms start at full speed rather than accelerating.
Evasion Strategy: Jump toward the leading edge of each approaching platform to buy maximum standing time. Never ride a platform all the way to the boundary wall, as you will drop directly into the bone bed.
5. Bone Stabs & Red Warning Indicators
Sans flashes semi-transparent red rectangular warning zones across sections of the floor or walls. After a 0.5-second warning delay, lethal bone spears shoot violently from that area.
Evasion Strategy: Keep your eyes locked on the red warning box. You have approximately 400 milliseconds to step or jump outside the shaded boundary before the spears emerge.
6. Platform Blasters & The Spinning Finale (sans_final)
Gaster Blasters are giant skull-like cannons that charge with a high-pitched sound cue before unleashing devastating laser beams across the arena. In Sans's final attack (Turn 23), ten Gaster Blasters form a rotating wheel around the arena, firing beams inward while spinning clockwise.
Evasion Strategy: For the spinning wheel finale, position your heart at medium distance from the center. Moving in a tight circular orbit matches the angular velocity of the cannons. Hugging the outer corners makes the travel distance too large to outrun the beams.
7. The Karmic Retribution (KR) Poison Damage Mechanic
In standard Undertale battles, taking damage grants temporary invincibility frames (i-frames) so you cannot lose all your HP in a fraction of a second. Sans ignores invincibility entirely! Every single frame your heart intersects a bone or laser drains 1 HP. Furthermore, Sans inflicts KR (Karma): your health bar turns purple, and damage continues to tick down over time. Sustained contact will deplete 92 HP in less than one second.
Tips for Beginners: Surviving the Opening Phase
- 1. Master Short-Tap Jumps First: Do not jump by holding down the key. Train your index finger to tap ↑ for just 100–150 milliseconds. Over-jumping into the ceiling is the cause of over 70% of beginner game overs.
- 2. Use Practice Mode Before Attempting Normal: Restarting from Turn 1 every time you make a minor mistake wastes enormous time. Use Practice Mode so the automatic failure restart lets you drill the exact pattern you failed until your hands remember the timing.
- 3. Memorize the Deterministic Attack Sequence: Unlike procedural bullet-hell games, Sans's Phase 1 attack order is 100% fixed. Attack 1 is always the Intro, Attack 2 is Blue Bones, Attack 3 is Bone Gap 1, and so forth. Treat each turn like choreography you can script in advance.
- 4. Always Select FIGHT on Menu Turns: Never attempt to ACT (Check) during a serious run. Attacking Sans is the only action that advances the hidden turn counter toward his final exhaustion.
- 5. Watch Sans's Arm Gestures: Before each telekinetic gravity slam, Sans's sprite raises or points his arm in the direction of the throw. Looking at his body language gives you a 200ms head start to prepare the counter-jump.

Advanced Strategies & No-Hit Execution
- Input Buffering Across Turn Transitions: When Sans finishes speaking his dialogue bubble, you do not need to wait for the battle box to reappear before pressing your directional key. Holding the jump direction during the final dialogue frame buffers the jump on Frame 1 of the attack phase, preventing instant slam damage.
- Edge-Spacing on Full-Velocity Platforms: Because moving platforms in jcw87's engine start at maximum speed rather than accelerating, step onto the platform at its trailing edge. This maximizes the distance the platform travels before you are forced to leap to the next slab.
- Orbital Radius Control in the Finale: In the
sans_finalspinning blaster circle, the most common failure point is hugging the outer perimeter. Maintain a medium radius from the center: too close to the middle and the beam thicknesses overlap; too far in the corner and the circular path is too long to maintain speed. - The 3-Consecutive-Pass Rule: Before attempting a full Normal run, load Single Attack mode and challenge yourself to pass
sans_platformblaster,sans_bonegap2, andsans_finalthree consecutive times without taking damage. Once you achieve this milestone, a full run clear is virtually guaranteed.
Frequently Asked Questions
Is this the full Sans fight or the full Undertale game?
Bad Time Simulator offers the full, authentic Sans boss fight sequence with all 23 turns and Phase 2 attacks. It is not the full Undertale RPG: exploration, dialogue choices leading up to the Judgement Hall, and other boss fights are not part of this standalone simulator.
Can I play on a phone?
This build includes basic touch controls for mobile browsers, but the developer strongly recommends a physical keyboard on desktop or laptop. Sub-millisecond jump precision and micro-hops are exceptionally difficult to execute reliably on touchscreen glass.
Why are my keyboard controls not responding?
Click once inside the black game window. If you typed into the site search bar, switched browser tabs, or clicked outside the frame, your browser diverted keyboard focus away from the game canvas.
Why does Practice Mode keep repeating the same attack?
Practice Mode monitors your health loss. If you take too much damage during a pattern, a red FAILURE banner flashes, your HP is fully restored, and the same pattern restarts. This ensures you master each attack before advancing. To skip ahead, switch to Single Attack Mode.
What is KR (Karma) and why is my health purple?
Karmic Retribution (KR) is Sans's signature combat mechanic. Instead of granting invincibility frames when hit, Sans deals continuous damage every frame and turns a portion of your HP purple, draining it steadily over time like poison.
How many turns are in the Sans fight?
The fight consists of 23 total turns: 13 turns in Phase 1, followed by the mid-battle monologue / spare intermission, and 10 high-speed turns in Phase 2 culminating in Sans's "Special Attack".
How do I beat the spinning Gaster Blaster circle at the end?
In the final attack (sans_final), move your SOUL in a smooth, continuous circle matching the rotational direction of the blasters. Keep your heart at a medium distance from the center—never get trapped in the extreme corners.
How does Custom Attack Mode work and where do I find CSV files?
Custom Attack Mode parses comma-separated value (.csv) files specifying object types, spawn coordinates, launch angles, and frame timings. You can click the "Documentation" link in the Custom Attack menu to inspect the syntax and build your own attacks.
Why do Sans attacks ignore invincibility frames?
In Toby Fox's original design, Sans subverts standard RPG mechanics because he knows you are a Genocide player. Disabling i-frames and using ATK 1 attacks that tick 60 times per second makes him the most difficult boss in Undertale.
Is Bad Time Simulator harder than the original Undertale fight?
Most players find it slightly harder due to browser input latency and the full-speed platform motion in sans_platforms4. However, the availability of Practice Mode and Single Attack makes learning the fight dramatically faster than the original game.
Conclusion & Mastery Roadmap
Conquering Sans in Bad Time Simulator is one of the most rewarding achievements in indie gaming. While the encounter feels overwhelming at first, every single attack in Sans's repertoire is 100% deterministic and predictable. By isolating trouble spots in Single Attack, building muscle memory in Practice Mode, and applying micro-hop jump discipline, any player can progress from panic-jumping on Turn 1 to dancing flawlessly through the final spinning blaster ring.
Once you have conquered Sans, explore our other boss fight simulators on the site—including the Deltarune Fight Simulator for party-based combat, or browse our Undertale Games Collection to discover community AU battles like Disbelief Papyrus and Omega Flowey!





















































































