Twenty Taps
A downloadable game for Windows
This is a simple game that was created using only 20 lines of code!
I considered a line to be where a semi-colon was used, excluding for loops.
You have 20 lives, and must get through 20 levels.
No sprites were used in the making of this game because apparently I hate myself. You could just as easily copy and paste the 20 lines of code into a new project and have it run perfectly. Though the default font and lack of sounds makes it less enjoyable.
To do this you just need to create a new project, add an object called 'obj' and paste the 20 lines into the draw event. I did notice that having such dense code like this makes the editor run slowly so be warned.
If you'd like to add sounds / fonts just create the resources and set them to whatever you want, though the names of the resources must be the same:
bg_music, snd_hit, snd_shoot, snd_die
fnt_main, fnt_about
Comments
Log in with itch.io to leave a comment.
It's incredible that you realize it with 20 lines of code! Impressive!
Iam impressed that u did that game only with 20 lines of code.Well done :) just got fast boring because of the lack of enemy variations.
Thank you! Yeah I had planned to add more but using no sprites makes adding enemies a bit annoying. If I ever work on this game further that's the top of my list.