Skip to content

shashikant70086/diveasyoucan_

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bc87417 · · Mar 1, 2026

History

3 Commits
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026
Mar 1, 2026

Repository files navigation

"# DIVE AS YOU CAN

A deep-sea diving game where you navigate the Mariana Trench to survive and collect treasure.

About

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!

How to Play

Controls

  • W / ↑ - Move Up
  • S / ↓ - Move Down
  • A / ← - Move Left
  • D / → - Move Right
  • Mouse - Aim your torch/light

Game Mechanics

  • 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

Objective

Survive as deep as possible while managing your oxygen and health. Game over when oxygen or health reaches zero.

Getting Started

  1. Open index.html in a web browser
  2. Click to start the game
  3. Use WASD or arrow keys to navigate
  4. Aim the light with your mouse
  5. Dive deeper and beat your high score!

Game Features

  • 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

Assets

Game includes custom sprite assets for:

  • Player submarine/diver
  • Pearl/coin collectible
  • Oxygen tank
  • Three enemy types (shark, fish, jellyfish)

License

Created for fun. Feel free to modify and enjoy!"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published