Show HN: 2048 in GridWhale

https://gridwhale.com/program.hexm?id=ER8L46RY
by GMoromisato • 2 years ago
2 0 2 years ago

This is an implementation of the 2048 sliding tile puzzle on the GridWhale platform. I wrote it mostly to have some sample code for GridWhale, but it's also a fun game.

If you click on the program icon in the upper-left, you can see the source code. And once inside the IDE you can clone it and modify, if you want.

*So what?*: The cool thing about this is that it shows the integrated nature of GridWhale. The UI, the game logic, and persistent storage (high score list) are all implemented in a single language in a single program that runs on the server--kind of like mainframe programs of old.

That integration made it really easy for me to implement--it only took me a few hours. And once finished I can share it with anyone just by sending an URL.

Related Stories

Loading related stories...

Source preview

gridwhale.com