Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ dragonfly.js
File
dragonfly.js
assets/js/dragonfly.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
score = 0;
2
collision = true;
3
audio =
new
Audio(
'../assets/sounds/dragonfly_music.mp3'
);
4
audiogameover =
new
Audio(
'../assets/sounds/dragonfly_gameOver.wav'
);
Callers
nothing calls this directly
Calls
1
currentScore
Function · 0.85
Tested by
no test coverage detected