Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The heavier bits: about 800k of that is the .webp animations showing how to play. The actual game has a bunch of image resources — including font sprites for the timer and the tiles — that are probably a few hundred k as well. The regular site stuff is sveltekit.

The game script is around 300k. I used Phaser [0] — I originally wrote the game in Swift for iOS and utilized one of that platform’s gaming frameworks(SpriteKit). I rewrote it in TypeScript for the web and wanted a similar framework to ease the porting.

[0] https://phaser.io




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: