{"author_link":"\/users\/henk","author_name":"henk","author_uid":1378676,"comments":[{"id":986153,"author_name":"henk","author_uid":"henk","epoch":1696196418,"text":"### To change colors:\n - open browser console (ctrl+shift+i then click \"console\" tab)\n - paste this: `cell_inf[4].color = 'grey';`\n - swap the number (0-4) and color ([full list](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/named-color)) for what you want\n - hit enter\n - the colors will update on the next mouse movement\n\n### Default colors:\n - 0: yellow\n - 1: limegreen\n - 2: cyan\n - 3: magenta\n - 4: orange","format":"md","likes":2,"spam":"N"},{"id":988674,"author_name":"brainles etertainment","author_uid":"brainles-etertainment","epoch":1696279863,"text":"Interesting variation of tetris.","format":"md","likes":0,"spam":"N"},{"id":988703,"author_name":"Ben Parisi","author_uid":"ben-parisi","epoch":1696280037,"text":"I played for about 5 mins. I don't get it. I think for a game with a unique mechanic like this, a 1 min video of you playing it and explaining it would be super helpful","format":"md","likes":1,"spam":"N"},{"id":988725,"author_name":"Sun-Wukong","author_uid":"sun-wukong","epoch":1696280211,"text":"Interesting concept but the size of play field should be increased at least tenfold. Currently game ends in 5-6 turns due to overfill before you even start understand what happening.","format":"md","likes":1,"spam":"N"},{"id":988811,"author_name":"247gamestudio","author_uid":"247gamestudio","epoch":1696281021,"text":"The game really fun and cool to play, I liked the defragmentation concept and it fits perfectly in the theme, plays really well and is actually addictive. Congrats!","format":"md","likes":1,"spam":"N"},{"id":990260,"author_name":"LDJam user 377546","author_uid":"377546","epoch":1696289057,"text":"I have to second @ben-parisi, it was not intuitive to get started. Maybe add a little guide with screenshots. I would love to try it again. The tolerance for people to stick with playing is very low, so try to make it really easy at the beginning so people don't bounce off immediately :)\n\nBut It fits the theme perfectly and the idea of making a defrag game is great :D","format":"md","likes":1,"spam":"N"},{"id":995520,"author_name":"henk","author_uid":"henk","epoch":1696331804,"text":"@ben-parisi @kanagg Thanks for the recommendations.  I've made a more screenshot-heavy guide and [posted it here](https:\/\/github.com\/ldhenk\/ldhenk.github.io\/blob\/master\/ld54_tut\/tutorial.md).  Please let me know if that helps.","format":"md","likes":1,"spam":"N"},{"id":997988,"author_name":"mahalis","author_uid":"mahalis","epoch":1696348984,"text":"This is a lot of fun! I found the \u201cgap\u201d cells really confusing\u2014it might have helped to explain what those meant up front\u2014but once I understood that, I had a great time reorganizing things and made it to 47. I appreciated having a preview of the upcoming operations. Nice work!","format":"md","likes":1,"spam":"N"},{"id":1003275,"author_name":"cogcomp","author_uid":"cogcomp","epoch":1696397467,"text":"Interesting idea. I think I understood the gist of it except the corner cells. Never seen any of those when I've defragged my disks :laughing: Just as someone else said. I also thing there should be more cells as well. But all in all quite a satisfying game to play. Well made!","format":"md","likes":1,"spam":"N"},{"id":1003921,"author_name":"LDJam user 377546","author_uid":"377546","epoch":1696408853,"text":"@henk yes that helped a lot thanks :D ","format":"md","likes":1,"spam":"N"},{"id":1006823,"author_name":"exergy","author_uid":"exergy","epoch":1696445676,"text":"It took a bit of time to understand but then I loved it! Awesome job!","format":"md","likes":1,"spam":"N"},{"id":1006918,"author_name":"LDJam user 262525","author_uid":"262525","epoch":1696446435,"text":"That was fun! I managed to get a score of 62... out of 54? But yeah, the game is fun! Though I feel like the sound effects feel kinda random. Like I don't know when they are supposed to trigger and I rarely hear them, but there are clearly sound effects in the game.\n\n\nI feel like the controls could be made a bit more intuitive. It takes a while to figure out how to do things at first and having to move your mouse all the way to the \"clear selection\" button takes a bit longer than it should (it could, for example, be mapped to a right click), but once you get used to it it's pretty fun.","format":"md","likes":1,"spam":"N"},{"id":1008238,"author_name":"henk","author_uid":"henk","epoch":1696459246,"text":"@dennis-magnusson Thanks for the feedback!  The 54 is just sort of meant as a target to shoot for, not really an upper limit, since I think a bare score by itself would be hard to interpret for people new to the game :P.\n\nUnfortunately the sound effects seem to be having some latency-related issues in some browsers.  What's your browser-OS combination?  I think Firefox on Windows may be having issues in particular.\n\nRight click does clear the selection.  Was it not working for you?  I suppose I should mention it in the instructions...","format":"md","likes":1,"spam":"N"},{"id":1009039,"author_name":"Defrag","author_uid":"defrag","epoch":1696475791,"text":"Nice connection to the theme, and unique gameplay. However, it seems like the benefit of making colors contiguous is merely that you get to save a single space by not needing to have a buffer. My initial expectation was that some kind of Tetris\/match-3 style block removal would take place. I didn't grasp the core game loop for a while. Because the gameplay is novel, you probably would have to spend a little more time walking the player through intended gameplay.","format":"md","likes":1,"spam":"N"},{"id":1009497,"author_name":"LDJam user 262525","author_uid":"262525","epoch":1696488332,"text":"@henk ah, cool! I'm using Orion on Mac, which is basically just Safari. As for the right click, I actually didn't try it, I just assumed it wasn't in there, and that it would be a good idea, buy it's great that it's in there, would definitely make the experience nicer!","format":"md","likes":1,"spam":"N"},{"id":1012199,"author_name":"gilborn","author_uid":"gilborn","epoch":1696543967,"text":"Puh, think this is the longest playing session so far in the ludum dare. It was engaging to find out how it works and ended at 116 points.\n\nStrong entry, a cool puzzler!","format":"md","likes":1,"spam":"N"},{"id":1013634,"author_name":"Likirus","author_uid":"likirus","epoch":1696590862,"text":"Very interesting puzzle game, probably one of the best puzzle games I have seen in Ludum Dare in a while. It took me one attempt to understand the rules, but when you do, it's very interesting and rewarding to find good solutions. Great Job!","format":"md","likes":1,"spam":"N"},{"id":1013905,"author_name":"LDJam user 238500","author_uid":"238500","epoch":1696600352,"text":"204\/54! I got reckless.\nFYI: YOU SHOULD NOT SELECT THE EDGE PIECES!\nI did not understand how to select at first, but when I did, it was super fun. Very relaxing game, I really enjoyed it! Great job!","format":"md","likes":1,"spam":"N"},{"id":1015814,"author_name":"khaotom","author_uid":"khaotom","epoch":1696662148,"text":"This is great little puzzle. Experimentation led to learning the rules quite well for me. Very enjoyable.","format":"md","likes":1,"spam":"N"},{"id":1015822,"author_name":"cheesepencil","author_uid":"cheesepencil","epoch":1696662770,"text":"I struggled with this one and didn't figure it out even after reading the guide with screenshots. Might just be over my head. I do see that other folks are enjoying it and I'm happy for that <3","format":"md","likes":1,"spam":"N"},{"id":1015907,"author_name":"Gamester1128","author_uid":"gamester1128","epoch":1696665120,"text":"I have no clue how I even got this far. I got 16 score for the first 5 times I played and then BAM! 223\/54! I don't even know what caused me to fail lol but I probably forgot what the next important piece was while looking ahead. \n\nReally good and even complete game for something made in 48 hours. Probably one of the best games. It is designed in a way that can be played for a really long time if you do it correctly, making it IMO very finished!\n\n![ld-54-defrag-record.png](\/\/\/raw\/6f7\/b5\/z\/5feee.png)","format":"md","likes":1,"spam":"N"},{"id":1017320,"author_name":"stmate03","author_uid":"stmate03","epoch":1696715955,"text":"Pretty fun game, I struggled the first few games then did a 100+ run and I had fun, it really hits the spot when played well, otherwise you feel that cluttered mess vibe which is bad, god play is rewarding and bad play will make you unhappy, very nice skill based game, also like how you can technically change the colors","format":"md","likes":1,"spam":"N"},{"id":1018377,"author_name":"Hakro","author_uid":"hakro","epoch":1696774044,"text":"Took me a couple of tries to figure out, but once I got the hang of it, it was pretty fun. The selection steps might be a bit confusing at first.\nNice idea overall. GG.","format":"md","likes":1,"spam":"N"},{"id":1019196,"author_name":"LDJam user 314423","author_uid":"314423","epoch":1696806853,"text":"I also didn't quite grasp what the triangle half-cells were. But the concept is great and entirely on theme. :)","format":"md","likes":1,"spam":"N"},{"id":1019753,"author_name":"goddzeproject","author_uid":"goddzeproject","epoch":1696852113,"text":"Interesting idea, without knowing how disk defragmentation works, it's hard to figure out)","format":"md","likes":0,"spam":"N"},{"id":1019974,"author_name":"ellaris","author_uid":"ellaris","epoch":1696866630,"text":"Interesting and fun idea for a puzzle game, I enjoyed rearranging the pieces, it does take a while to fully grasp the concept.","format":"md","likes":0,"spam":"N"},{"id":1021240,"author_name":"Tommy","author_uid":"tommy","epoch":1696956838,"text":"Incredibly interesting idea man! The game is very enticing to play, really well polished, fun and complex. Also the clean minimalistic graphics and the SFX help in making it very pleasant to play. Well done!","format":"md","likes":1,"spam":"N"},{"id":1021768,"author_name":"ciobeni","author_uid":"ciobeni","epoch":1696992948,"text":"Loved your take on the theme! I never once in my life imagined being a defrag software - and enjoying it too.\n\nTook me a while to understand what I had to do and how the game mechanics worked, but once I got the hang of it after a few rounds it was smooth to play.","format":"md","likes":1,"spam":"N"},{"id":1022248,"author_name":"Pincushion","author_uid":"pincushion","epoch":1697044955,"text":"Great idea. The selection and placement is pretty satisfying. It isn't too challenging, but it takes a moment to consider moves. It's a good difficulty level for a jam. I thought there was a good mix of additions and removals. It made me wonder if there's some magic under the hood to keep the randomness fun (or was I just lucky). It's fun to play.\n\nSome \"nice to have\" suggestions: \n1. It wasn't immediately obvious that the blocks on the upper-right corner were the upcoming actions, though they're really clear to me now. Something like \"upcoming reads\/writes\" would help.\n2. Since the score was counting up to 54, I had hoped for an \"I win\" message. Because I like winning.\n3. I can see other placement bonuses or blockers being added like \"Bad Sectors\" can appear over time.\n\nIt's not Gamester's 223, but I'll consider it a win.\n\n![I scored 57](\/\/\/raw\/c44\/32\/z\/602dd.png)\n","format":"md","likes":1,"spam":"N"},{"id":1022436,"author_name":"henk","author_uid":"henk","epoch":1697057650,"text":"@pincushion Thanks for the feedback!  Good catch: There is indeed some \"magic\" to the AI's move selection.  The game wouldn't have been very fair without it :)","format":"md","likes":1,"spam":"N"},{"id":1023019,"author_name":"Recher","author_uid":"recher","epoch":1697133776,"text":"A very original idea, that deserves to be polished and more exploited.\n\nMaybe a game mechanism where a file, when it is correctly merged, is completely removed from the defrag zone, because it goes to a safe and stable space or something.\n\nI'm not sure the added\/removed block positions are predictable. I had some block removed and there were in the middle of the file, and the game did not warn me about it.\n\nAlso, it's quite frustrating to be obliged to use two turn when you just want to shift a file part for some tiles. You have to put it in a complete empty part, then put it back to the shifted place.\n\nAnd, as said in other comments, each game is a little too short because not enough space.\n\nBut really, the idea is fun and original, maybe I will think about it to make my own version of the game.\n\n","format":"md","likes":1,"spam":"N"},{"id":1023132,"author_name":"henk","author_uid":"henk","epoch":1697142039,"text":"@recher Thanks for the feedback.\n\n> Also, it\u2019s quite frustrating to be obliged to use two turn when you just want to shift a file part for some tiles. You have to put it in a complete empty part, then put it back to the shifted place.\n\nWhile the source and destination regions must be non-overlapping, that doesn't mean there isn't a single-turn way to do what you are trying to do.","format":"md","likes":1,"spam":"N"},{"id":1024043,"author_name":"milq","author_uid":"milq","epoch":1697268319,"text":"Remarkable puzzle crafted with pure JavaScript! I find this game, created solo in just 48 hours, absolutely astonishing! The idea of simulating a disk defragmenter is delightful and has kept me thoroughly entertained! If there\u2019s a minor drawback, it would be the graphics - a bit more detail to immerse me fully into a disk defragmenter setting would have been great. However, it\u2019s understandable that this type of game doesn\u2019t necessarily need it. So, all that\u2019s left to say is congratulations! It seems like a very solid game for being developed by yourself in 48 hours. Well done!","format":"md","likes":1,"spam":"N"},{"id":1025392,"author_name":"Dan Str","author_uid":"dan-str","epoch":1697397975,"text":"cool game, keep up the good work","format":"md","likes":0,"spam":"N"},{"id":1026016,"author_name":"kristinamay","author_uid":"kristinamay","epoch":1697485022,"text":"What a wonderful puzzle game! I could definitely see myself sitting here for a few hours playing this, but I have to rate more LD games :laughing: . I was absolutely bewildered and annoyed until I read @sharploaded 's comment that I'm not supposed to select the end pieces. WOW that made a massive difference. I kept thinking I had to select the end pieces but then when I placed it flush with one of the same color, it kept the gap. It's so hard to create a fresh-feeling puzzle game but you definitely did. Love it.","format":"md","likes":1,"spam":"N"},{"id":1028030,"author_name":"fraanns","author_uid":"fraanns","epoch":1697716688,"text":"A very cool idea, but I think the concept need more explanation.","format":"md","likes":0,"spam":"N"},{"id":1030092,"author_name":"henk","author_uid":"henk","epoch":1698581352,"text":"@dennis-magnusson I know this is a bit late, but I've uploaded [a newer version](ldhenk.github.io\/ld54_new) which I think should fix the audio-related issues you were seeing.  Would you be willing to let me know if it helps?","format":"md","likes":0,"spam":"N"}],"format":"md","images":["ld54\/wayback-placeholder.png"],"links":[{"url":"https:\/\/github.com\/ldhenk\/ldhenk.github.io\/tree\/master\/ld54","text":"Link"},{"url":"https:\/\/ldhenk.github.io\/ld54\/","text":"Link"}],"metadata":{"g_key":"92254","g_author":"1378676","g_event":"LD54","g_eventkey":"117","g_subevent":"COMPO","g_urlkey":"436681","g_title":"Defrag","g_status":"WAYBACK","g_place":"146","g_commentcount":"37","g_site2_node_id":"378680","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":{"n_key":"378680","n_urlkey":"436681","n_parent":"371459","n_path":"\/events\/ludum-dare\/54\/defrag","n_slug":"defrag","n_type":"item","n_subtype":"game","n_subsubtype":"compo","n_author":"378676","n_created":"1696180101","n_modified":"1778854175","n_version":"1192755","n_status":"WAYBACK"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD54","removed_author":false},"_superparent":9,"_trust":1,"author":378676,"body":"![scrsht54.png](\/\/\/raw\/437\/c5\/z\/5c894.png)\n\n## Summary\n\nA casual turn-based puzzler.  Play as a disk-defragmenting program trying to save space while someone is adding and removing files.\n\n## Instructions (available in-game):\n\nClick to begin selecting a region, then\nclick again to complete the selection.  Click\nsomewhere empty to move the selected\nblocks to that location, or right-click to\ncancel.  Click \"pass\" to skip\nyour move for this turn.\n\nAfter you make a move, some number of\nblocks will be added or removed.  The game\nends when there isn't enough space for new\nblocks to be added.\n\nTwo blocks of different colors can't be\ndirectly adjacent.  Try grouping similar\ncolors to save space.\n\nA more screenshot-heavy version of this guide [can be found here](https:\/\/github.com\/ldhenk\/ldhenk.github.io\/blob\/master\/ld54_tut\/tutorial.md).\n\n## Tool Credits\n\nsound-effects made using sfxr\n\n## Changelog:\n\nThe links below are to the original version submitted as part of compo.  **[A newer version can be found here](ldhenk.github.io\/ld54_new)** with the following changes:\n - Fixed audio latency issues in some browsers (hopefully)\n    - Tested in firefox and chromium.  Browsers with anti-fingerprinting measures enabled\n      may cause audio to not play.\n - Improved selection and placement to hopefully be more intuitive for new players\n - Replaced the wall of text with an interactive tutorial","comments":37,"comments-timestamp":"2023-10-29T12:09:12Z","created":"2023-10-01T17:08:21Z","files":[],"files-timestamp":0,"grade":{"grade-01":41,"grade-02":41,"grade-03":42,"grade-04":42,"grade-05":41,"grade-07":37,"grade-08":37},"id":378680,"love":0,"magic":{"cool":128.24541491565,"feedback":56,"given":56.125,"grade":40.142857142857,"grade-01-average":3.654,"grade-01-result":146,"grade-02-average":3.487,"grade-02-result":181,"grade-03-average":4.025,"grade-03-result":46,"grade-04-average":4.375,"grade-04-result":27,"grade-05-average":2.821,"grade-05-result":309,"grade-07-average":2.157,"grade-07-result":243,"grade-08-average":2.6,"grade-08-result":310,"smart":3.4975544263824},"meta":{"allow-anonymous-comments":"1","author":[378676],"cover":"\/\/\/content\/437\/c5\/z\/5c891.png","grade-06-out":"1","link-01":"https:\/\/github.com\/ldhenk\/ldhenk.github.io\/tree\/master\/ld54","link-01-tag":[42332],"link-02":"https:\/\/ldhenk.github.io\/ld54\/","link-02-tag":[42336]},"meta-timestamp":"2026-05-15T14:09:35Z","modified":"2026-05-15T14:09:35Z","name":"Defrag","node-timestamp":"2023-10-29T12:10:45Z","parent":371459,"parents":[1,5,9,371459],"path":"\/events\/ludum-dare\/54\/defrag","published":"2023-10-01T18:54:07Z","scope":"public","slug":"defrag","subsubtype":"compo","subtype":"game","type":"item","version":1192755},"text":"![scrsht54.png](\/\/\/raw\/437\/c5\/z\/5c894.png)\n\n## Summary\n\nA casual turn-based puzzler.  Play as a disk-defragmenting program trying to save space while someone is adding and removing files.\n\n## Instructions (available in-game):\n\nClick to begin selecting a region, then\nclick again to complete the selection.  Click\nsomewhere empty to move the selected\nblocks to that location, or right-click to\ncancel.  Click \"pass\" to skip\nyour move for this turn.\n\nAfter you make a move, some number of\nblocks will be added or removed.  The game\nends when there isn't enough space for new\nblocks to be added.\n\nTwo blocks of different colors can't be\ndirectly adjacent.  Try grouping similar\ncolors to save space.\n\nA more screenshot-heavy version of this guide [can be found here](https:\/\/github.com\/ldhenk\/ldhenk.github.io\/blob\/master\/ld54_tut\/tutorial.md).\n\n## Tool Credits\n\nsound-effects made using sfxr\n\n## Changelog:\n\nThe links below are to the original version submitted as part of compo.  **[A newer version can be found here](ldhenk.github.io\/ld54_new)** with the following changes:\n - Fixed audio latency issues in some browsers (hopefully)\n    - Tested in firefox and chromium.  Browsers with anti-fingerprinting measures enabled\n      may cause audio to not play.\n - Improved selection and placement to hopefully be more intuitive for new players\n - Replaced the wall of text with an interactive tutorial","title":"Defrag","wayback_recovered":true,"wayback_source":{"capture":{"original":"https:\/\/api-jam.ludumdare.com\/vx\/node2\/get\/378501+378502+378503+378504+378505+378506+378507+378508+378509+378510+378511+378512+378513+378514+378515+378516+378517+378518+378519+378520+378521+378522+378523+378524+378525+378526+378527+378528+378529+378530+378531+378532+378533+378534+378535+378536+378537+378538+378539+378540+378541+378542+378543+378544+378545+378546+378547+378548+378549+378550+378551+378552+378553+378554+378555+378556+378557+378558+378559+378560+378561+378562+378563+378564+378565+378566+378567+378568+378569+378570+378571+378572+378573+378574+378575+378576+378577+378578+378579+378580+378581+378582+378583+378584+378585+378586+378587+378588+378589+378590+378591+378592+378593+378594+378595+378596+378597+378598+378599+378600+378601+378602+378603+378604+378605+378606+378607+378608+378609+378610+378611+378612+378613+378614+378615+378616+378617+378618+378619+378620+378621+378622+378623+378624+378625+378626+378627+378628+378629+378630+378631+378632+378633+378634+378635+378636+378637+378638+378639+378640+378641+378642+378643+378644+378645+378646+378647+378648+378649+378650+378651+378652+378653+378654+378655+378656+378657+378658+378659+378660+378661+378662+378663+378664+378665+378666+378667+378668+378669+378670+378671+378672+378673+378674+378675+378676+378677+378678+378679+378680+378681+378682+378683+378684+378685+378686+378687+378688+378689+378690+378691+378692+378693+378694+378695+378696+378697+378698+378699+378700+378701+378702+378703+378704+378705+378706+378707+378708+378709+378710+378711+378712+378713+378714+378715+378716+378717+378718+378719+378720+378721+378722+378723+378724+378725+378726+378727+378728+378729+378730+378731+378732+378733+378734+378735+378736+378737+378738+378739+378740+378741+378742+378743+378744+378745+378746+378747+378748+378749+378750+378751+378752+378753+378754+378755+378756+378757+378758+378759+378760+378761+378762+378763+378764+378765+378766+378767+378768+378769+378770+378771+378772+378773+378774+378775+378776+378777+378778+378779+378780+378781+378782+378783+378784+378785+378786+378787+378788+378789+378790+378791+378792+378793+378794+378795+378796+378797+378798+378799+378800+378801+378802+378803+378804+378805+378806+378807+378808+378809+378810+378811+378812+378813+378814+378815+378816+378817+378818+378819+378820+378821+378822+378823+378824+378825+378826+378827+378828+378829+378830+378831+378832+378833+378834+378835+378836+378837+378838+378839+378840+378841+378842+378843+378844+378845+378846+378847+378848+378849+378850+378851+378852+378853+378854+378855+378856+378857+378858+378859+378860+378861+378862+378863+378864+378865+378866+378867+378868+378869+378870+378871+378872+378873+378874+378875+378876+378877+378878+378879+378880+378881+378882+378883+378884+378885+378886+378887+378888+378889+378890+378891+378892+378893+378894+378895+378896+378897+378898+378899+378900+378901+378902+378903+378904+378905+378906+378907+378908+378909+378910+378911+378912+378913+378914+378915+378916+378917+378918+378919+378920+378921+378922+378923+378924+378925+378926+378927+378928+378929+378930+378931+378932+378933+378934+378935+378936+378937+378938+378939+378940+378941+378942+378943+378944+378945+378946+378947+378948+378949+378950+378951+378952+378953+378954+378955+378956+378957+378958+378959+378960+378961+378962+378963+378964+378965+378966+378967+378968+378969+378970+378971+378972+378973+378974+378975+378976+378977+378978+378979+378980+378981+378982+378983+378984+378985+378986+378987+378988+378989+378990+378991+378992+378993+378994+378995+378996+378997+378998+378999+379000?authors&parents&superparent"},"object":"objects\/sha256\/e1\/e172b16de3e067f7fc37b5d6ad49902871c564b38d1c49a2711d2ba6628452bb","record":"shard-2\/json-live-urgent-v3\/records\/472f2b5b5da300ae962dd1b8fbce48406eae7749b418194386d1b0dbf7fb4e1f.json","sha256":"e172b16de3e067f7fc37b5d6ad49902871c564b38d1c49a2711d2ba6628452bb","source":"https","stored_at":1784022486}}