CLICK TO FLAP!

A Flappy Bird demake that fits in a single tweet!

If you like this try the HD widescreen edition! It also fits in a tweet.

Here is  the entire html file for this game made somewhat readable (266 bytes)...

<canvas style="width:100%"id="c"><script> 
x=c.getContext`2d`
T=-1
setInterval(U=_=>{
c.width=99
onclick=_=>V=1
X=99-T%128
i=T++>>7
y=18+i**2%25
T&&X*X>144|(Y-y)**2<49?Y-=V-=.03:T=Y=V=0
for(j=2;j--;x.fillRect(X+3,7+y-120*j,19,99))
x.fillText(i,9,Y,9)
},16)
</script>

Here's the super minified version, now at only 247 bytes!

<canvas onclick=V=1 style=width:100% id=c><svg onload="C=c.getContext`2d`;T=-1;setInterval(`X=(c.width=99)-T%128;i=T++>>7;o=18+i**2%25;T&&X*X>144|(Y-o)**2<49?Y-=V-=.03:T=Y=V=0;for(j=2;j--;C.fillRect(X+3,7+o-120*j,19,99));C.fillText(i,9,Y,9)`,16)">

Updated 22 days ago
StatusReleased
PlatformsHTML5
Rating
(1)
AuthorKilledByAPixel
GenreAction
TagsFlappy Bird, javascript, onebutton, tinycode, tweet

Leave a comment

Log in with itch.io to leave a comment.