- Left and right arrows to move.
- Hold down and release the space bar to fire a depth charge.
- The longer you hold down the space bar the deeper the charge will sink before exploding.
- Refresh the page to start over.
Look at the source: https://github.com/belovachap/sub-boom
Powered by GameJs: http://gamejs.org.