Do you guys like Sokoban (the box-pushing game)? I sure do. I just found out about Sokoban a few days ago and decided to write my own simple box/block-pushing game. So here it is, my very own generic block-pushing Sokoban clone:
You can play it in your browser at https://thardus.xyz/blox/. It is VERY crude, but you can create new levels, save them, and play previously saved levels. I created the first 9 levels. I'm curious to know how difficult / easy people find them to be (they ramp up in difficulty, but only slightly).
Move with the arrow keys (repeatedly press the key to move each time), and press "R" to restart a level if you get stuck. When creating a level, toggle between edit and play mode with the "E" key. Use the left and right arrow keys, the "A" and "D" keys, or keys 1 - 6 to switch between objects in editor mode.
This was created over two days' time. So think of this is a proof of concept. If it's well-received, I will spruce it up into something nicer.
I have updated the game with a new name and address, among other changes. The game can now be played at https://thardus.xyz/blox/, and its source code is freely available on GitHub.
Completed refactored codebase with less spaghetti code
Added new spaghetti code
Fixed some bugs (like an out of bounds bug that stalls everything)
Blocks that are placed on top of goals are set to blue in the editor
Level resolution increased from 20x10 tiles to 24x14 tiles
Results screen no longer includes decimals in time spent "puzzling"
Results screen drops "s" from "seconds" and "moves" when appropriate
Keys can be held down to move the player instead of having to repeatedly tap them
Player now "slides" to the next space instead of instantly appearing there
Blocks now "slide" along as if being kicked by the player
Added annoying sound effects
Added a few more levels of varying degrees of difficulty
Dropped the ability to create new levels, as no one used it
As per Audric's request, I have added the ability to undo moves with the "Z" key. Here's the commit: 42fa6d8. The game can still be played at https://thardus.xyz/blox/; you might need to clear your cache though.