/fishy-ocean

Fish in the Sea - Vanilla JavaScript Game (August 2023)

Primary LanguageJavaScript

Fish in the Sea - JavaScript Game

Welcome to "Fish in the Sea," a simple game built using JavaScript. In this game, your task is to control the fish and collect bubbles to score points. Beware of poisonous fish, as encountering them will end the game!

Getting Started

  1. Clone or download this repository to your device.
  2. Open the index.html file in your web browser.
  3. The game will load, and you can start playing!

Controls

  • Click on specific areas of the screen to control the fish's movement.
  • Move the fish to collect bubbles and score points.
  • Avoid touching the poisonous fish, as it will result in game over.

Technical Details

  • The game is implemented using HTML, CSS, and JavaScript technologies.
  • The fish and bubbles are displayed as images that move around the screen.
  • Using JavaScript logic, the game tracks the score and detects collisions between the fish, bubbles, and poisonous fish.
  • The game ends when the fish touches a poisonous fish, and a game over message is displayed.