"# DIVE AS YOU CAN
A deep-sea diving game where you navigate the Mariana Trench to survive and collect treasure.
DIVE AS YOU CAN is a browser-based arcade game where you control a submarine diving deeper into the ocean. Collect coins and oxygen tanks while avoiding deadly sea creatures. The deeper you go, the narrower the trench becomes—test your reflexes and strategy!
- W / ↑ - Move Up
- S / ↓ - Move Down
- A / ← - Move Left
- D / → - Move Right
- Mouse - Aim your torch/light
- Oxygen: Depletes as you dive deeper. Refill by resurfacing or collecting oxygen tanks.
- Health: Takes damage from enemy encounters. Health cannot be recovered.
- Coins: Collect pearls/coins for points.
- Enemies:
- 🦈 Sharks (e1) - Rare, home in from the walls
- 🐟 Fish (e2) - Common, bob around and patrol walls
- 🪼 Jellyfish (e3) - Medium frequency, high damage
Survive as deep as possible while managing your oxygen and health. Game over when oxygen or health reaches zero.
- Open
index.htmlin a web browser - Click to start the game
- Use WASD or arrow keys to navigate
- Aim the light with your mouse
- Dive deeper and beat your high score!
- Physics-based movement with gravity and friction
- Dynamic lighting system (cone + soft glow)
- Procedurally spawned items at increasing depth
- Screen shake and visual feedback on damage
- Real-time health and oxygen meters
- Depth tracking
Game includes custom sprite assets for:
- Player submarine/diver
- Pearl/coin collectible
- Oxygen tank
- Three enemy types (shark, fish, jellyfish)
Created for fun. Feel free to modify and enjoy!"