Bad Time Simulator — Sans Fight Simulator

Play the Undertale Sans Fight Simulator directly in your browser.

How to Play ↓

A keyboard is recommended. Touch controls depend on the game version.

Try Poople – Daily Word Ladder Game

Looking for a different kind of challenge? Change one letter at a time to turn a four-letter word into POOP. A new puzzle awaits every day.

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.

Sans delivering his iconic Judgement Hall dialogue in Bad Time Simulator
The Judgement Hall encounter: Sans welcomes the player with his unforgettable monologue ("it's a beautiful day outside...") before launching his devastating opening salvo.

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_platforms4 and sans_platforms4hard attacks 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!!!").
Battle menu interface showing FIGHT, ACT, ITEM, and MERCY buttons
The battle menu: Select FIGHT with Z or Enter to deplete Sans's stamina and force him into his next attack wave.

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.
Blue SOUL dodging stationary blue bones and white obstacles in Bad Time Simulator
Blue SOUL physics in action: White bones deal damage upon collision, while blue bones pass through harmlessly as long as your SOUL remains stationary.

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:

KeyAction
Arrow keysMove Heart (SOUL) / Navigate menus / Jump against gravity
W / A / S / DAlternative directional movement and jump keys
Z / EnterConfirm menu selection / Trigger FIGHT, ACT, ITEM, MERCY / Advance dialogue
X / ShiftCancel / Speed up dialogue text / Return to main menu from Single Attack
Up arrow / WJump upward with Blue SOUL when gravity is downward
Down / Left / RightJump 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.

Practice Mode displaying bold red FAILURE notification and instant HP reset
Practice Mode: When taking too much damage, a bold red FAILURE message appears and your HP instantly refills to 92/92 to re-drill the same pattern.
Endless Mode submenu selecting between Phase 1 and Phase 2
Endless Mode: Select Phase 1 for classic bone dodging or Phase 2 for rapid telekinetic slams in an unbroken survival loop.
Single Attack Mode menu listing attacks 1 through 12
Single Attack Mode (Page 1): Direct access to early patterns including sans_intro, sans_bluebone, and sans_bonegap1.
Custom Attack Mode interface with CSV file loader and documentation link
Custom Attack Mode: Load custom CSV files to design, test, and share custom Sans attack routines in your browser.
Bad Time Simulator title screen showing Normal, Practice, Endless, Single attack, and Custom attack
Main Menu: Choose from five distinct game modes to match your current training objective.

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.

Sans telekinetically slamming the Blue SOUL to the floor spikes during the opening attack
The infamous opening attack: Sans raises his hand to slam Frisk downward. Buffer the jump input early to clear the emerging bone bed.

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.

Blue SOUL standing still inside blue bones while dodging white bone spikes
Blue Bone discipline: Release all keys to remain completely still while blue bones glide through your heart hitbox.

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.

Blue SOUL micro-hopping through moving vertical bone gaps
Micro-hop timing: Lightly tap jump to hop over the lower bone while staying well below the ceiling spikes.

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.

Green platform drifting horizontally over a bed of lethal bone spikes
Platform navigation: Leap between green platforms while keeping the Blue SOUL elevated above the floor spikes.

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.

Red rectangular warning indicator box glowing before bone stabs erupt
Bone Stab warning: The red rectangular box indicates the exact eruption zone. Relocate your SOUL before the timer expires.

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.

Dual Gaster Blasters firing horizontal energy beams over floating platforms
Gaster Blaster laser beams: Recognize the charging sprite orientation to anticipate where the laser beam will fire.

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.
Sans final spinning Gaster Blaster circle attack with purple KR health bar
The final spinning blaster ring: Maintain a smooth mid-radius circular orbit around the battle box to survive the climax.

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_final spinning 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, and sans_final three 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!

More Games

Back to game
Bad Time Trio 2 Player Fight Simulator
Bad Time Trio Simulator
Berdly Fight
Bill Cipher Undertale Fight Simulator
Bonetale (Sans vs. Frisk)
Burgerpants Fight Simulator — Undertale
Ceroba Genocide Fight Simulator
Ceroba Pacifist Fight Simulator
Chaos King Fight Simulator — Deltarune
Chrome Dino Undertale Game
CR Storyswap Asriel Fight Simulator
Cross Sans Fight Simulator
Deltarune's Darkners Live Rhythm Simulator
Decibat Fight — Undertale Yellow
Deltarune Attack Shop — Play Online
Deltarune Fight Simulator
Deltarune Chapter 5 Aqua Fight Simulator
Deltarune DEVICE_FRIEND Fight Simulator
Deltarune GB
Deltarune Goku Fight Simulator
Deltarune Ink Sans No Die Fight
Deltarune Kris vs Kris
Deltarune Lancer Battle
Deltarune Queen Fight
Deltarune Vessel
Deltarune Vessel vs Kris Fight
Deltarune: Weird Route Gerson Fight
DELTATRAVELER
Deno the Dino
Disbelief Papyrus Fight Simulator
Dreemurr Duo Fight Simulator
Dustbelief Papyrus Multiplayer Simulator
DustBelief Papyrus Phase 3 Fight Simulator
DustDust Sans Fight Simulator — Play Online
DustDustDust Sans Fight Simulator — Play Online
Dustswap Dusttrust Fight Simulator (Phase 1-3)
Dusttale Last Genocide Fight Simulator — Play Online
Dust Sans Simulator
Dusttrust Finality Boss Fight Simulator
Dusttrust Sans Fight
Endless Mad Mew Mew Fight Simulator
Epic Sans Fight Simulator
Error Sans Fight Simulator
Error404 Sans vs King Multiverse Sans Fight Simulator
FellSwap Sans Battle Simulator
Deltarune Flowery Fight
Flowey 2 Player Fight Simulator
Friday Night Funkin' Playable Sans — Play Online

Bookmark
BadTimeSimulator.me
Save BadTimeSimulator.me

We add new fan games regularly.

New fan games are added regularly.

Press Ctrl + D to save this site.

Tap Share and add a bookmark.