An open API service indexing awesome lists of open source software.

https://github.com/jlw-7/chopperdash

Simple helicopter video game built with javascript.
https://github.com/jlw-7/chopperdash

game-2d javascript-game

Last synced: about 1 year ago
JSON representation

Simple helicopter video game built with javascript.

Awesome Lists containing this project

README

          

🚁 ChopperDash (Helicopter Game)

> [!IMPORTANT]
> This is an amateur project that uses the CodeHS graphics library. If you want to test it out, run it in the CodeHS sandbox or have the CodeHS graphics library installed, otherwise the game would not run properly.

📷 Demo



Mid Game Image
Game Over Image

Left Image: mid-game screenshot. Right image: game over page screenshot.



đŸ•šī¸ Game Experience


đŸ’ģ Interface



  • Green and black theme

  • Simple obstacles represented as green rectangles are placed in random positions.

  • Terrain represented as smaller green rectangels are placed top and bottom of the screen.

  • Both obstacles and terrain move towards the copter at similar speeds.


🎮 Mechanics



  • Helicopter Controls:


    • Click or tap to move the helicopter upwards; release to descend.




  • Scoring System:


    • Similar to the Chrome Dino Game, score increments by 1 every millisecond.

    • Score is displayed in top left corner of the game.




  • Game Over:


    • Collision with obstacles or terrain results in a game over.

    • Click anywhere on the message 'click here to replay' to respawn.




  • Coin Collection:


    • Coins can be collected on collision with the helicopter.

    • Collecting a coin adds 50 points to the score.




  • Difficulty:


    • Game increases in difficulty over time (e.g. more obstacles).



🎧 Audio Effects



  • Background music loops while game is running.

  • Sound effects are present during collisions with obstacles, terrain, and coins.



🧩 Technologies Used




  • JavaScript: Used to create game logic, including controls, collisions, scoring, and game dynamics.


  • HTML5: Used for structure and layout of game canvas.


  • Canvas API: Used for providing 2D graphics for game elements.


  • Web Audio API: Used for background music and sound effects.



đŸ–Ĩī¸ Usage & Installation


Still in progress...

đŸ“Ē Contact


Contact July Wu at
july.777.wu@gmail.com
.
Click
here
to visit July's github profile.

📄 License


This game is licensed under the MIT license. For more information see the
LICENSE
file.