Game Sound HTML 5 and Javascript Source Code

Game Sound HTML 5 and Javascript Source Code

This program will teach you on how to integrate sounds in games using HTML 5 and javascript.To create a new sound object use the sound constructor, and when the red square hits an obstacle, play the sound

Instructions:
1. Download the source code.
2. Extract the compressed folder.
3. Open the index.html in any browser

Note:
This is just a simple program any updates or constructive criticism will be accepted.

Download link:

Game Sound HTML 5 and Javascript Source Code