Skip to content

Complete JavaScript Game that incorporates CSS canvas and grids and utilizes AI as well as geometric vectors

Notifications You must be signed in to change notification settings

dfine907/bullseye_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the BULLSEYE GAME!

Overview

The Bullseye Game is a browser-based game developed using HTML, CSS, and Vanilla JavaScript. This project was from a FreeCodeCamp course, and it features custom sprite images designed for this game.

In this game, simple trigonometry and vector mathematics are used for collision detection to simulate interactions between objects. Additionally, a very basic AI algorithm is implemented to give creatures lifelike movements as they approach the player.

Features

  • No Authentication: No sign-in or log-in required.

  • Direct Play: Play the game at: https://dfine907.github.io/bullseye_game/.

  • Local Play: Clone the repository and use Live Server in VS Code or any other IDE to play locally.

  • No Installation Needed: No installs or dependencies required.

Playing the game:

Objectives: Protect the eggs and push them to the Safe Forest.

In the Bullseye Game, you control the blue character and are tasked with protecting eggs from random incoming monsters that appear from the RIGHT side of the screen.

Safe Zone: The Safe Forest at the top of the screen is where hatchlings and eggs are safe. Yellow sparks signify a successful save, earning you one point. Red sparks indicate a hatchling has been eaten.

Hatching Time: Eggs hatch after 9 seconds, making the hatchlings vulnerable to monsters.

  • The game ends once you score 30 Hatchings, but you win ONLY if 6 or less hatchings were eaten.

  • If you save 30 hatchlings before 7 hatclings are eaten, you win the game.

  • To restart the game at any time, press r on your keyboard.

Enjoy the game!

About

Complete JavaScript Game that incorporates CSS canvas and grids and utilizes AI as well as geometric vectors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published