Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ flappybird.js
File
flappybird.js
assets/js/flappybird.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
let
cvs= document.getElementById(
"canvas"
);
//cvs --> variable
2
let
ctx=cvs.getContext(
"2d"
);
// method calling , parameter -->2d
3
let
fire1=document.getElementById(
"fire1"
);
4
let
fire2=document.getElementById(
"fire2"
);
Callers
nothing calls this directly
Calls
3
move
Method · 0.80
loop
Function · 0.70
reset
Method · 0.45
Tested by
no test coverage detected