Project Description
Background
An obstacle-based game requires players to avoid various objects while running, flying, or moving through an environment. The player tries to avoid the obstacles and beat their time or number of objects avoided each time they play. Sometimes these games are known as endless runners because the player’s character or vehicle continues to move along a terrain or platform until it collides with an obstacle.
Your Task
In this project, you’ll combine the ideas introduced in JavaScript, graphics, and data structures to create a fun and simple game. You’ll develop a program that allows game players to control a helicopter that flies along a terrain. Within your game, you’ll create obstacles that the helicopter might collide with as it flies. Players must avoid the obstacles to see how far they can travel.
In addition to adding a helicopter for players to fly, you’ll create a collision system that triggers a response if the helicopter collides with an obstacle. You’ll also develop a system to keep score and a basic particle system to produce dust particles in your game. Some extension ideas are also provided if you’re interested in expanding your game with menus and gameplay enhancements.