Skip to content

(Very cool and very spectecular) jumping game written in assembly, made to fit into a QR code.

Notifications You must be signed in to change notification settings

TuinboonDev/dino-asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dino Assembly

(Very cool and very spectecular) jumping game written in assembly, made to fit into a QR code.

Demo

https://dino.thijmens.nl NOTE: Everytime you die it restarts, this is due to limitations with the software im using. Only works in desktop + landscape mode for mobile.

Press SPACE to jump and Q to stop.

Example:


About

This project was made because of saycheese from Hackclub. As mentioned above, this is a jumping game written in x86_64 Linux assembly. I have learned a lot from this project, like syscalls and the general way of how assembly works. It was quite hard to figure some stuff out because this is my first time using assembly. Thats why this project took me about 23 hours. The binary for this is 1744 bytes, which would fit in a version 27 qr code.

How to use

Using this program is easy by using the Makefile. You can either download the Makefile and dino.asm and use make run to compile it to a binary.

wget https://raw.githubusercontent.com/TuinboonDev/dino-asm/refs/heads/main/Makefile
wget https://raw.githubusercontent.com/TuinboonDev/dino-asm/refs/heads/main/dino.asm
make run

The other option is grabbing the Makefile and qr.png and use make decode to get the data URI from the qr and turn that into the binary to run it.

wget https://raw.githubusercontent.com/TuinboonDev/dino-asm/refs/heads/main/Makefile
wget https://raw.githubusercontent.com/TuinboonDev/dino-asm/refs/heads/main/qr.png
make decode

The last and maybe easiest way is to just get the dino binary and execute that.

wget https://raw.githubusercontent.com/TuinboonDev/dino-asm/refs/heads/main/dino
./dino

About

(Very cool and very spectecular) jumping game written in assembly, made to fit into a QR code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published