Show HN: I made a web game called Almost Pong (opens in a new tab)lessmilk.com
1135 pointsHi HN!
I made many small web games in the past with Unity or Phaser. But this time I wanted to make something completely on my own. So I coded a basic game framework in plain JavaScript, and used it to make Almost Pong.
This was a really fun project that taught me a lot about JavaScript, and I plan to make more minimalist games with this framework. Interesting fact: Almost Pong doesn't load any assets, all sprites and sounds are generated with code.
Happy to answer questions, and please let me know if you have any feedback on the game. Thanks!
Comments (181) 117 threads
Earlier commentsOh, and soon you'll see people here on HN competing to hack the top score as with previous games [1], either though writing an AI to play the game or by modifying the JS itself on the site.
[0] https://www.cnet.com/tech/services-and-software/no-flappy-bi...
[1] https://news.ycombinator.com/item?id=29921419
* https://news.ycombinator.com/pool, explained at https://news.ycombinator.com/item?id=26998308
Edit: oh wait, it's way more fun on Safari. On Firefox it feels slow and slugish, but on Safari it's great!
And powerups in the middle that make ball bigger or grows one paddle again would be interesting.
I think the game should scroll up infinitely as you progress. It will enhance the psychological feel of falling in space when the pong drops. And you can introduce levels, bosses, goals, etc.
The basic game play mechanic here is solid. Just like keeping a party balloon from hitting the ground!
Safari on m1 mac - no lag and frustratingly fun :)
All comments shown.
Couldn't load more comments. Check your connection and try again.