{"author_link":"\/users\/unidaystudio","author_name":"UnidayStudio","author_uid":1011483,"comments":[{"id":987893,"author_name":"Stronf","author_uid":"stronf","epoch":1696272868,"text":"very peculiar interpretation of \"limited space\", couldn't have thought of it, nicely done\nThe game is straightforward, short, some of levels are more challenging and interesting","format":"md","likes":1,"spam":"N"},{"id":987994,"author_name":"LDJam user 299751","author_uid":"299751","epoch":1696273840,"text":"I guess you won LD54 on a meta level","format":"md","likes":4,"spam":"N"},{"id":988058,"author_name":"LDJam user 373644","author_uid":"373644","epoch":1696274462,"text":"Cool little game (literally!) Some of the levels are actually surprisingly difficult!\n\nWhat compiler flags did you use for release - did you try using the \/O1 optimization flag to reduce space even further?\n\n","format":"md","likes":1,"spam":"N"},{"id":988092,"author_name":"Corporation","author_uid":"corporation","epoch":1696274786,"text":"I actually really enjoy this type of theme implementation, very outside of the box. Also I'm kinda respect when games are created with limited instruments and resources. This is something I do in some way. And thank you for the last level, I was already scared after 5th XD\n \n![11.png](\/\/\/raw\/3cc\/b2\/z\/5d908.png)","format":"md","likes":1,"spam":"N"},{"id":988154,"author_name":"TheFoppian","author_uid":"thefoppian","epoch":1696275386,"text":"I concur with Stronf above me. I saw your post and was intrigued by the concept. It's a fun, challenging sokoban game, and while it's not particularly innovative, it's a solid game and the fact that it's under 16kb is very impressive.","format":"md","likes":2,"spam":"N"},{"id":988784,"author_name":"UnidayStudio","author_uid":"unidaystudio","epoch":1696280762,"text":"Fun fact: Now that the game is 8 KB and zipped is 4, I can fit the entire thing (zipped), in HEX, in a single A4 printable page:\n![image (22).png](\/\/\/raw\/bdc\/2\/z\/5ddc0.png)\n\n(or in two pages, if I unzip it)","format":"md","likes":10,"spam":"N"},{"id":988967,"author_name":"Nozomu57","author_uid":"nozomu57","epoch":1696282269,"text":"Never before I wanted to rate 6\/5 for theme so badly :D Great job!\n\nLevel 5 was super interesting, needed to sit back and think about it. Makes my puzzle-seeking brain happy.","format":"md","likes":3,"spam":"N"},{"id":989019,"author_name":"zanagi","author_uid":"zanagi","epoch":1696282686,"text":"These types of creative takes are why I love game jams, great job :thumbsup: ","format":"md","likes":2,"spam":"N"},{"id":989101,"author_name":"LudumDareDevil","author_uid":"ludumdaredevil","epoch":1696283147,"text":"I love your interpretation of the theme!","format":"md","likes":2,"spam":"N"},{"id":989980,"author_name":"UnidayStudio","author_uid":"unidaystudio","epoch":1696287883,"text":"## For anyone interested to know:\n\nIf I remove all the text from the game (the tutorials), I can go down to 6 KB:\n\n![ld54-file-size.png](\/\/\/raw\/bdc\/2\/z\/5f5eb.png)\n\nBut I'm not shipping this version of the game. :smile: ","format":"md","likes":1,"spam":"N"},{"id":990083,"author_name":"Jes\u00fas Gonz\u00e1lez","author_uid":"jesus-gonzalez","epoch":1696288312,"text":"We need a new \"tech\" or similar category to properly rate technically impressive games like this one.","format":"md","likes":3,"spam":"N"},{"id":991287,"author_name":"Daniel Grinshpon","author_uid":"daniel-grinshpon","epoch":1696295691,"text":"Super impressive, probably the coolest application of the theme I've seen so far. I wonder if you can fit the game on a qr code?","format":"md","likes":1,"spam":"N"},{"id":993865,"author_name":"moonlightbomber","author_uid":"moonlightbomber","epoch":1696318281,"text":"I love the fact that you took the theme and interpreted it as \"limited disk space\". Surely, with the hex code you gave, it can be ported to pretty much anything nowadays.","format":"md","likes":1,"spam":"N"},{"id":994154,"author_name":"MattHartley","author_uid":"matthartley","epoch":1696320900,"text":"Amazing! I love the idea of doing a small executable for this theme. And on top of that the game was really fun as well. Great job!","format":"md","likes":1,"spam":"N"},{"id":998096,"author_name":"Martin183","author_uid":"martin183","epoch":1696349804,"text":"Love your interpretation of the theme! I just have access to linux and mac, will see if I can setup a VM...","format":"md","likes":1,"spam":"N"},{"id":998102,"author_name":"UnidayStudio","author_uid":"unidaystudio","epoch":1696349827,"text":"Thanks everyone for the amazing feedbacks! @ralian I have the source code linked with the game (it's on my github) and you can check the Makefile, but yes, I've used a lot of compiler flags and tricks to optimize it even more. One of the coolest ones is to not use LIBC (the default C library, that have important stuff like malloc, free, rand, memcpy and so on). I had to implement my own versions of those functions using the Windows APIs. It was a very interesting experience!\n\n@daniel-grinshpon thank you! I wanted to make a game that fits on a QR code or a business card as well, but it turns out that I would have to reduce it even more to be able to fit, sacrificing some cool stuff I had. For example: I can reduce it by around 2 KB if I remove all the tutorial text in the game, making it ~6KB. But then it will be considerably bad in my opinion. So I think that 8 KB is a good trade off and I'm very happy with it.","format":"md","likes":3,"spam":"N"},{"id":998235,"author_name":"cagibi","author_uid":"cagibi","epoch":1696350660,"text":"Impressive game! ~~Looking forward to receiving the stack of punch cards by postal mail~~\n\nIf you really want to fit it on a QR code, and if you know javascript very well, you could port it for the web. Although good luck wrestling with the Canvas API when your budget is in bytes, especially for texture generation.","format":"md","likes":1,"spam":"N"},{"id":998436,"author_name":"TheCaptainBuster","author_uid":"thecaptainbuster","epoch":1696351866,"text":"i really loved this. couldnt get past level 5 but have been playing since the past 20 minutes and haven't even realized! ","format":"md","likes":1,"spam":"N"},{"id":998574,"author_name":"someone","author_uid":"someone","epoch":1696352534,"text":"Nice sokoban implementation. A couple of the levels were tricky.  \nBypassing libc was interesting. I tried building it with mingw but that ended up being 24k.","format":"md","likes":1,"spam":"N"},{"id":998754,"author_name":"Ezard94","author_uid":"ezard94","epoch":1696353616,"text":"Very nice game, the fact that you're used the game size to fit the theme is such a good idea ! Overall a very pleasant experience.","format":"md","likes":1,"spam":"N"},{"id":999746,"author_name":"UnidayStudio","author_uid":"unidaystudio","epoch":1696359413,"text":"@someone thanks! Interesting to know that you tried it on mingw. Did you replicate the flags I used for msvc? They will certainly make a lot of difference in the executable size, specially the optimizations and the defaultlib removal. Let me know! ","format":"md","likes":1,"spam":"N"},{"id":1003116,"author_name":"Jahwffrey","author_uid":"jahwffrey","epoch":1696394515,"text":"Nice! Love the idea. That is a very tiny sokoban.","format":"md","likes":2,"spam":"N"},{"id":1004475,"author_name":"FiveCyclops","author_uid":"fivecyclops","epoch":1696416940,"text":"Incredible ! Good levels.\n\nGreat job !","format":"md","likes":1,"spam":"N"},{"id":1012651,"author_name":"jebouin","author_uid":"jebouin","epoch":1696554857,"text":"Very original take on the theme, and it runs perfectly on linux with Wine. I agree we need a new \"technical\" category for entries like these!","format":"md","likes":1,"spam":"N"},{"id":1019656,"author_name":"DeadByDeath","author_uid":"deadbydeath","epoch":1696845304,"text":"My friend, you are crazy! :smile: I will print it to a A4 page to give it to my friends to play it :tongue: ","format":"md","likes":1,"spam":"N"},{"id":1021033,"author_name":"Hora-Timer","author_uid":"hora-timer","epoch":1696940740,"text":"As always congratulations! Guilherme Great! work","format":"md","likes":2,"spam":"N"},{"id":1023945,"author_name":"PSV Games Studio","author_uid":"psv-games-studio","epoch":1697245665,"text":"Amazing! I loved the Idea, besides the size, the gameplay is really fun, the way you interpreted the theme is incredible, I would never have thought of that. Great job!","format":"md","likes":1,"spam":"N"},{"id":1029378,"author_name":"Ava Skoog","author_uid":"ava-skoog","epoch":1697832440,"text":"Really good use of the theme! Game itself while not original is fun, since the original game is fun :p You did good designing levels, quite hard already by levels 3 and 4. It was a little wonky tho, the graphics wobbled and the occasional frame was completely artifacted, and the cursor was showing loading icon constantly when hovered over the window as if the program wasn't responding, so might want to look into that \ud83d\ude05 Otherwise enjoyable! But the main attraction here is of course the meta.","format":"md","likes":1,"spam":"N"},{"id":1029519,"author_name":"UnidayStudio","author_uid":"unidaystudio","epoch":1697837477,"text":"@ava-skoog Thanks! Regarding the bugs, I had to remove so many code for it to fit in such a small executable file, that some of them where sort of hard to completely get rid of without adding back some Kbs. :smile: ","format":"md","likes":0,"spam":"N"}],"format":"md","images":["ldjam-media\/sha256\/96\/96dcb922c4f052d10cc602df383fd3ae04be376a53e00798a5881a14de5de5f9.png"],"links":[{"url":"https:\/\/github.com\/UnidayStudio\/This-Game-is-Only-16-KB-","text":"Source Code"}],"metadata":{"g_key":"91279","g_author":"1011483","g_event":"LD54","g_eventkey":"117","g_subevent":"JAM","g_urlkey":"434782","g_title":"This Game Only Weighs 8 KB!","g_status":"WAYBACK","g_place":"194","g_commentcount":"29","g_site2_node_id":"373205","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":{"n_key":"373205","n_urlkey":"434782","n_parent":"371459","n_path":"\/events\/ludum-dare\/54\/this-game-only-weights-16-kb","n_slug":"this-game-only-weights-16-kb","n_type":"item","n_subtype":"game","n_subsubtype":"jam","n_author":"11483","n_created":"1695695380","n_modified":"1779568573","n_version":"1172620","n_status":"WAYBACK"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD54","removed_author":false},"_superparent":9,"_trust":15,"author":11483,"body":"The theme was \"Limited Space\", so I took it quite literally.\n\n*Created by Guilherme Teres (@UnidayStudio)*\n\n![ld54-screenshot-1.png](\/\/\/raw\/bdc\/2\/z\/5d732.png)\n\n## But... WHY?\n\nThis code was put together in a few (around 3) hours to fit the theme. I had this idea to make a game with the final executable having the smallest size as possible, ideally bellow 16 KB, since I was not able to think about anything else with this theme.\n\nUnfortunately I lost the first two days of the jam trying other (more complex) ideas, so I was not able to put this in the Compo, even making it in 3 hours. I think it would be a perfect game for the category. But I'll leave it open source anyways!\n\nThe game itself is very simple, just a **Sokoban clone** with no sound and a few levels. But it have some interesting features, such as **procedurally generated textures for the sprites and a hand drawn character pixel art using nothing but binary. :P**\n\nCode is a bit of a mess, but given the short amount of time I had, I'm happy with it. It uses no external lib, just Windows.h, which sadly makes it window specific, but I think it would be a bit harder to make it extremely small in size and still cross platform. \n\n![Screenshot_107.png](\/\/\/raw\/bdc\/2\/z\/5d742.png)\n\n## Update (Before Jam Ends):\nOne hour remaining for the end of the Jam, I managed to remove LIBC from the project, **saving another ~8 KB**. **I'll keep BOTH versions for download here**, so you can try them all. The only difference is the size in disk and I made both versions DURING the jam (so keep that in mind). This is how it looks like now:\n\n![ld54-gamesize.png](\/\/\/raw\/bdc\/2\/z\/5dcf1.png)\n\n**This was my first attempt to make an executable small**, I know that there are plenty of advanced techniques out there that I'm not using and that I could same a lot more space on  stack and not using any default lib, but I'l already happy with the result. \n\n**It was fun to develop this little project! :)**\n\n---------------\n\n## Bonus: Building the Source Code\n\nIf you want to check how I manage to make it so small or even try to add new levels yourself, you can follow those steps:\n\nIn order to build this project, you must be on **Windows** and have MSVC and Make installed. Then you need to follow those steps:\n\n- Open the Native Tools Command Prompt for VS (so you can use msvc's `cl` and `link`)\n- Navigate to this project's root folder\n- Type `make`\n\n# Enjoy it!\n\n","comments":29,"comments-timestamp":"2023-10-20T21:31:17Z","created":"2023-09-26T02:29:40Z","files":[{"author":11483,"id":20948,"name":"Sokoban_LD54.zip","node":373205,"size":7860,"status":0,"tag":0,"timestamp":"2023-10-02T18:01:32Z"},{"author":11483,"id":20959,"name":"Sokoban_LD54_v1.zip","node":373205,"size":7860,"status":9,"tag":0,"timestamp":"2023-10-02T18:03:50Z"},{"author":11483,"id":21712,"name":"Sokoban_LD54_v2.zip","node":373205,"size":4665,"status":9,"tag":0,"timestamp":"2023-10-02T20:56:54Z"}],"files-timestamp":"2023-10-02T20:56:54Z","grade":{"grade-01":28,"grade-02":28,"grade-03":30,"grade-04":30,"grade-05":28,"grade-07":26,"grade-08":27},"id":373205,"love":0,"magic":{"cool":117.96331597299,"feedback":2,"given":32.875,"grade":28.142857142857,"grade-01-average":3.962,"grade-01-result":194,"grade-02-average":3.635,"grade-02-result":403,"grade-03-average":4,"grade-03-result":117,"grade-04-average":4.768,"grade-04-result":3,"grade-05-average":3.096,"grade-05-result":833,"grade-07-average":2.979,"grade-07-result":522,"grade-08-average":2.96,"grade-08-result":931,"smart":-31.544229836929},"meta":{"author":[11483],"cover":"\/\/\/content\/bdc\/2\/z\/5dcfe.png","grade-06-out":"1","link-01":"https:\/\/github.com\/UnidayStudio\/This-Game-is-Only-16-KB-","link-01-name":"Source Code","link-01-tag":[50]},"meta-timestamp":"2026-05-23T20:36:13Z","modified":"2026-05-23T20:36:13Z","name":"This Game Only Weighs 8 KB!","node-timestamp":"2023-10-02T20:58:49Z","parent":371459,"parents":[1,5,9,371459],"path":"\/events\/ludum-dare\/54\/this-game-only-weights-16-kb","published":"2023-10-02T18:15:56Z","scope":"public","slug":"this-game-only-weights-16-kb","subsubtype":"jam","subtype":"game","type":"item","version":1172620},"text":"The theme was \"Limited Space\", so I took it quite literally.\n\n*Created by Guilherme Teres (@UnidayStudio)*\n\n![ld54-screenshot-1.png](\/\/\/raw\/bdc\/2\/z\/5d732.png)\n\n## But... WHY?\n\nThis code was put together in a few (around 3) hours to fit the theme. I had this idea to make a game with the final executable having the smallest size as possible, ideally bellow 16 KB, since I was not able to think about anything else with this theme.\n\nUnfortunately I lost the first two days of the jam trying other (more complex) ideas, so I was not able to put this in the Compo, even making it in 3 hours. I think it would be a perfect game for the category. But I'll leave it open source anyways!\n\nThe game itself is very simple, just a **Sokoban clone** with no sound and a few levels. But it have some interesting features, such as **procedurally generated textures for the sprites and a hand drawn character pixel art using nothing but binary. :P**\n\nCode is a bit of a mess, but given the short amount of time I had, I'm happy with it. It uses no external lib, just Windows.h, which sadly makes it window specific, but I think it would be a bit harder to make it extremely small in size and still cross platform. \n\n![Screenshot_107.png](\/\/\/raw\/bdc\/2\/z\/5d742.png)\n\n## Update (Before Jam Ends):\nOne hour remaining for the end of the Jam, I managed to remove LIBC from the project, **saving another ~8 KB**. **I'll keep BOTH versions for download here**, so you can try them all. The only difference is the size in disk and I made both versions DURING the jam (so keep that in mind). This is how it looks like now:\n\n![ld54-gamesize.png](\/\/\/raw\/bdc\/2\/z\/5dcf1.png)\n\n**This was my first attempt to make an executable small**, I know that there are plenty of advanced techniques out there that I'm not using and that I could same a lot more space on  stack and not using any default lib, but I'l already happy with the result. \n\n**It was fun to develop this little project! :)**\n\n---------------\n\n## Bonus: Building the Source Code\n\nIf you want to check how I manage to make it so small or even try to add new levels yourself, you can follow those steps:\n\nIn order to build this project, you must be on **Windows** and have MSVC and Make installed. Then you need to follow those steps:\n\n- Open the Native Tools Command Prompt for VS (so you can use msvc's `cl` and `link`)\n- Navigate to this project's root folder\n- Type `make`\n\n# Enjoy it!\n\n","title":"This Game Only Weighs 8 KB!","wayback_recovered":true,"wayback_source":{"capture":{"original":"https:\/\/api-jam.ludumdare.com\/vx\/node2\/get\/376001+376002+376003+376004+376005+376006+376007+376008+376009+376010+376011+376012+376013+376014+376015+376016+376017+376018+376019+376020+376021+376022+376023+376024+376025+376026+376027+376028+376029+376030+376031+376032+376033+376034+376035+376036+376037+376038+376039+376040+376041+376042+376043+376044+376045+376046+376047+376048+376049+376050+376051+376052+376053+376054+376055+376056+376057+376058+376059+376060+376061+376062+376063+376064+376065+376066+376067+376068+376069+376070+376071+376072+376073+376074+376075+376076+376077+376078+376079+376080+376081+376082+376083+376084+376085+376086+376087+376088+376089+376090+376091+376092+376093+376094+376095+376096+376097+376098+376099+376100+376101+376102+376103+376104+376105+376106+376107+376108+376109+376110+376111+376112+376113+376114+376115+376116+376117+376118+376119+376120+376121+376122+376123+376124+376125+376126+376127+376128+376129+376130+376131+376132+376133+376134+376135+376136+376137+376138+376139+376140+376141+376142+376143+376144+376145+376146+376147+376148+376149+376150+376151+376152+376153+376154+376155+376156+376157+376158+376159+376160+376161+376162+376163+376164+376165+376166+376167+376168+376169+376170+376171+376172+376173+376174+376175+376176+376177+376178+376179+376180+376181+376182+376183+376184+376185+376186+376187+376188+376189+376190+376191+376192+376193+376194+376195+376196+376197+376198+376199+376200+376201+376202+376203+376204+376205+376206+376207+376208+376209+376210+376211+376212+376213+376214+376215+376216+376217+376218+376219+376220+376221+376222+376223+376224+376225+376226+376227+376228+376229+376230+376231+376232+376233+376234+376235+376236+376237+376238+376239+376240+376241+376242+376243+376244+376245+376246+376247+376248+376249+376250+376251+376252+376253+376254+376255+376256+376257+376258+376259+376260+376261+376262+376263+376264+376265+376266+376267+376268+376269+376270+376271+376272+376273+376274+376275+376276+376277+376278+376279+376280+376281+376282+376283+376284+376285+376286+376287+376288+376289+376290+376291+376292+376293+376294+376295+376296+376297+376298+376299+376300+376301+376302+376303+376304+376305+376306+376307+376308+376309+376310+376311+376312+376313+376314+376315+376316+376317+376318+376319+376320+376321+376322+376323+376324+376325+376326+376327+376328+376329+376330+376331+376332+376333+376334+376335+376336+376337+376338+376339+376340+376341+376342+376343+376344+376345+376346+376347+376348+376349+376350+376351+376352+376353+376354+376355+376356+376357+376358+376359+376360+376361+376362+376363+376364+376365+376366+376367+376368+376369+376370+376371+376372+376373+376374+376375+376376+376377+376378+376379+376380+376381+376382+376383+376384+376385+376386+376387+376388+376389+376390+376391+376392+376393+376394+376395+376396+376397+376398+376399+376400+376401+376402+376403+376404+376405+376406+376407+376408+376409+376410+376411+376412+376413+376414+376415+376416+376417+376418+376419+376420+376421+376422+376423+376424+376425+376426+376427+376428+376429+376430+376431+376432+376433+376434+376435+376436+376437+376438+376439+376440+376441+376442+376443+376444+376445+376446+376447+376448+376449+376450+376451+376452+376453+376454+376455+376456+376457+376458+376459+376460+376461+376462+376463+376464+376465+376466+376467+376468+376469+376470+376471+376472+376473+376474+376475+376476+376477+376478+376479+376480+376481+376482+376483+376484+376485+376486+376487+376488+376489+376490+376491+376492+376493+376494+376495+376496+376497+376498+376499+376500?authors&parents&superparent"},"object":"objects\/sha256\/95\/9502fc1a979a13db60dc024f33d5d7544c3d2610801f44c5faa605828d618455","record":"shard-0\/json-live-urgent-v3\/records\/7f77144e03e8f88c5747c4241f6d9256a4d351b439857b754d486398f2281380.json","sha256":"9502fc1a979a13db60dc024f33d5d7544c3d2610801f44c5faa605828d618455","source":"https","stored_at":1784022493}}