AI:
πŸ₯Š

Click "Start Game" to begin the fight!

Use the webcam controls on the right

Initializing System...

Waiting for Action...
System: Waiting to start move detection.
Detected Body Parts (Visible)

No key body parts detected with sufficient visibility...

How Webcam Moves Work

Movement Controls

🫲 Left Arm Raise β†’ Move Left

How to do it: Raise your left arm straight up, keeping it close to your body

Game action: Sub-Zero moves left (G key)

🫱 Right Arm Raise β†’ Move Right

How to do it: Raise your right arm straight up, keeping it close to your body

Game action: Sub-Zero moves right (J key)

🫱🫲 Both Arms Raise β†’ Jump

How to do it: Raise both arms straight up simultaneously

Game action: Sub-Zero jumps (Y key)

Attack Controls

πŸ‘Š Punch Motion β†’ High Punch

How to do it: Extend either arm forward in a punching motion, keep elbow straight

Game action: Sub-Zero high punch (A key)

🦡 Kick Motion β†’ Low Kick

How to do it: Extend either leg forward in a kicking motion, keep knee straight

Game action: Sub-Zero low kick (D key)

πŸ¦† Squat Motion β†’ Duck

How to do it: Lower your body by bending knees, keep head and shoulders down

Game action: Sub-Zero ducks (H key)

πŸ’‘ Pro Tips

Detection Tips:
  • β€’ Stand 3-6 feet from the camera
  • β€’ Ensure good lighting on your body
  • β€’ Make clear, deliberate movements
  • β€’ Keep movements within camera view
Gameplay Tips:
  • β€’ Combine webcam + keyboard for complex moves
  • β€’ Use duck to avoid high attacks
  • β€’ Jump to dodge low attacks
  • β€’ Practice timing for better combos

πŸ”§ Troubleshooting

Not detecting moves? Check camera permissions, lighting, and distance.Laggy response? Try reducing browser tabs or restart the detection.

How to Play

Game Controls

  • β€’ Player 1 (Sub-Zero): G/J/Y/H + A/S/D/F
  • β€’ Player 2 (Kano): Arrow Keys + P/[ ]/\\
  • β€’ Movement: G/J/Y/H (P1) or Arrow Keys (P2)
  • β€’ Attacks: A/S/D/F (P1) or P/[ ]/\\ (P2)
  • β€’ Block: Shift (P1) or Ctrl (P2)
  • β€’ Restart: Spacebar

Webcam Controls

  • β€’ Move Left: Raise left arm up
  • β€’ Move Right: Raise right arm up
  • β€’ Jump: Raise both arms up
  • β€’ Punch: Extend arm forward
  • β€’ Kick: Extend leg forward
  • β€’ Duck: Lower body and bend knees

Instructions

Player 1 Controls (Sub-Zero)

Movement: G (Left) / J (Right) / Y (Up) / H (Down)
High Punch: A key
Low Punch: S key
Low Kick: D key
High Kick: F key
Block: Shift key
Jump: Y key
Squat: H key

Player 2 Controls (Kano)

Movement: Arrow Keys (Left/Right/Up/Down)
High Punch: P key
Low Punch: [ key (Left Bracket)
Low Kick: ] key (Right Bracket)
High Kick: \ key (Backslash)
Block: Ctrl key
Jump: Up Arrow
Squat: Down Arrow

Game Controls

Restart Game: Spacebar
Enjoy the fight!