Password Battle
Think your password is safe? Enter the arena and see if you can defeat the hacker bot.
Critical
Attacking
Battle Outcome
YOU ARE BEING HACKED!
It would take a standard computer **Instantly** to crack this password.
Enter Password to Defend
Defenses Built
Security Tips
Don't use personal info like birthdays or pet names. Use **Passphrases** (long sentences) which are harder for bots to crack but easier for you to remember!
Security FAQ
Password Strength Battle is a one-screen duel, not a campaign. You type into one field and a rule engine re-scores the string on every keystroke, while a Defender avatar and a Hacker Bot tile react to that number and nothing else. There are no rounds, no countdown and no second player. The rating is a weighted checklist rather than a cryptographic measurement: six checks worth 16.6 points each, a 10-point bonus past 16 characters, and a 20-point penalty for three identical characters in a row. The crack-time line is a fixed label per band, so read it as a severity marker rather than a computed cracking estimate.
Everything runs locally: the score, the bands and the crack-time label are computed in your browser from page state, and the game sends no password or score anywhere. The site analytics script runs with autocapture off and input masking on, so nothing typed is recorded. The field is unmasked by design, so test with representative samples rather than live credentials.
- Focus the field labelled 'Enter Password to Defend'. It is plain text, so every character you type stays visible on screen.
- Type a candidate. The score, the six defense rows, the HP badge and the crack-time line update on each keystroke, so there is no submit button.
- Read the 'Defenses Built' panel. Each rule shows a green shield once satisfied and a dim red shield while it is unmet.
- Push the Durability Score to 50 or higher. Below 50 the banner reads 'YOU ARE BEING HACKED!' and the bot keeps shaking; at 50 it flips to 'VICTORY!'.
- Change one thing at a time. Add a character, swap a class, then lengthen, and watch which edit moved the score.
- Clear the field with the small crosshair button at the right edge of the input to test a different candidate from scratch.
- Move a Fortress-rated candidate into your own password manager, since this page has no save or copy action.
- Target the rules, not a round number. Six satisfied requirements give 99.6 points, but five rules plus a length over 16 characters reach 93.0, which is enough for Fortress without hitting every check.
- Length 12 is the gate. A 12-character string with an uppercase, a lowercase, a digit and a symbol is what actually reaches Fortress.
- Watch for three identical characters in a row. The test fires on runs like '111' or 'aaa' anywhere in the string and costs 20 points.
- Three rules out of six never wins. Three met requirements score 49.8, just 0.2 below the 50 needed for victory.
- Spaces and accented letters count as symbols, since the symbol rule accepts anything outside A-Z, a-z and 0-9.
- Do not tune for the scoreboard with a live credential. 'Password123' scores 66.4 and wins, because no dictionary or breach check exists. Lowercase 'password123' scores 49.8 and loses, but it is still a terrible password.
- Let a passphrase satisfy the rules naturally. A four-word sentence with mixed case, a digit and a symbol clears every check.
Six checks worth 16.6 each
Every keystroke tests length of 8 or more, an uppercase letter, a lowercase letter, a digit, a symbol, and length of 12 or more, then multiplies the satisfied count by 16.6. The six base scores are 0, 16.6, 33.2, 49.8, 66.4 and 83.0.
Length bonus, repetition penalty
A string longer than 16 characters adds 10 points. A run of three identical characters, matched by the pattern /(.)\1\1/, subtracts 20. The result is clamped to 0-100, so one bad run can push a candidate below the victory line.
Five bands, four cut points
The score is banded at 25, 50, 75 and 90: under 25 Critical, 25 to 49.9 Vulnerable, 50 to 74.9 Decent, 75 to 89.9 Secure, 90 and above Fortress. Each band has its own colour, icon, verdict word and crack-time label.
The opponent is a boolean
There is no opponent AI and no attack simulation. One flag, set when the score reaches 50, decides the banner text, whether the bot greys out, and whether the rotating sword turns emerald or rose.
The crack time is a label
Instantly, Minutes, Months, Centuries and Eternity are fixed strings attached to the five bands. Nothing is hashed and no throughput is calculated, so the line describes the score, not how long your real account would hold.
- Type in the field
- Enters the candidate as plain text, so every character stays visible while you work.
- Any key
- Triggers a full re-score through a React effect. There is no submit action in the game.
- Backspace or Delete
- Removes characters and lowers the score, sometimes into a weaker band immediately.
- Crosshair button
- The round ghost button at the right edge of the input wipes the field and resets the score to zero.
- Tab or Enter
- Focus can reach the clear button. No shortcut changes the score, band or verdict.
- Hover the input
- A soft blue glow fades in behind the field. It is a focus affordance only.
- Click an FAQ row
- Opens the two accordion entries at the bottom of the game, one at a time.
- Narrow the window
- The side panel drops to one column below the large breakpoint and the avatar tiles shrink from 128px to 96px.
- Durability Score
- The headline rating, rounded to whole points as XX/100. It drives the progress bar, the HP badge and every band change.
- Points per rule
- 16.6 per satisfied requirement, so five met rules give 83.0 and six give 99.6.
- Bonus and penalty
- Plus 10 past 16 characters, minus 20 for three identical characters in a row, then clamped to 0-100.
- Victory line
- 50 points. At 50 the banner reads VICTORY!, the bot tile greys out and its label switches from Attacking to Defeated.
- Band thresholds
- 25, 50, 75 and 90 separate Critical, Vulnerable, Decent, Secure and Fortress, each with its own colour and crack-time word.
- Records and storage
- None. The score lives in page state only. No localStorage key, no leaderboard, nothing survives a reload.
Engineer to the threshold, then stop
The jump from 66.4 to 83.0 comes from the sixth rule, length of 12 or more. Reaching 99.6 also needs all four character classes. Past that the length bonus is invisible, because the display already rounds 99.6 up to 100/100.
Protect the 50-point line
A repetition penalty takes 66.4 down to 46.4 and flips the verdict back to 'YOU ARE BEING HACKED!'. Repeated digits and doubled letters are the usual culprits, so scan the string before trusting the meter.
Read the meter as a checklist
There is no common-password list and no breach database here, so a weak password that satisfies the six rules still scores well. Use the panel to flag candidates that fail the shape rules, then judge the rest yourself.
Compare three candidates
Type your real password style, then a typical pattern such as Summer2024, then a long passphrase. The gap between the three scores shows what your habits cost.
- Character class
- Uppercase, lowercase, digits or symbols. A symbol is any character outside A-Z, a-z and 0-9, so a space qualifies.
- Requirement
- One of the six boolean checks. Each satisfied requirement adds 16.6 points and is the only positive contribution.
- Durability Score
- The 0-100 rating in the side panel and on the defender's HP badge. A weighted rule count, not a cryptographic measurement.
- Band
- One of five ranges: Critical, Vulnerable, Decent, Secure, Fortress, each mapping to a colour, an icon and a crack-time label.
- Crack time
- A fixed word such as Instantly, Months or Eternity chosen from the score band. No hashing or timing is performed.
- Hacker Bot
- The opponent tile on the right, driven by one flag set at 50 points. No attack simulation, no adaptive behaviour.
- Repetition penalty
- A 20-point deduction triggered by three identical characters appearing consecutively anywhere in the password.