Skip to content

RandomGamingDev/qr-flappy-bird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qr-flappy-bird

A clone of flappy bird written to fit on the QR code and run in any browser using the data:text/html, feature

The Game
This is the actual game :D

Here's a youtube video explaining how this project was made: https://www.youtube.com/watch?v=CDMbnNxvrVM

You can try it out at https://randomgamingdev.github.io/qr-flappy-bird/build/a.html and the HTML file, QR code, as well as data:text/html, based code designed to run anywhere are available under the build directory

This library uses https://github.com/RandomGamingDev/qr-cartridge to compile its code so make sure to have that installed. build.sh is how I personally call the compiler, but you can change it for whatever your needs are.





Here's the QR code which contains the code for the game. To play simply copy the text and paste it into the search bar of a compatible browser that accepts data:text/html, (aka try your browser (I recommend using Chrome since it worked for me), if for some reason it doesn't work try another). Something to note is that it's quite possible that it'll take a while to load from the URL since data:text/html, is like that for some reason, so if you see it loading wait until it loads.