Live data from Hacker News

Show HN: Bubbles, a vanilla JavaScript web game

ehmorris.com

1–10 of 78 posts

Show HN: Bubbles, a vanilla JavaScript web game

#1
Hey everybody, you might remember my older game, Lander! It made a big splash on Hacker News about 2 years ago. I'm still enjoying writing games with no dependencies. I've been working on Bubbles for about 6 months and would love to see your scores.

If you like it, you can build your own levels with my builder tool: https://ehmorris.com/bubbles/builder/ and share the levels here or via Github.

Show HN: Bubbles, a vanilla JavaScript web game
ehmorris.com

Re: Show HN: Bubbles, a vanilla JavaScript web game

#5
Really cool stuff, ehmorris. Your work harkens back to the early days of the web when bundlers and minifiers were the exception, rather than the rule. Work like this can really help beginners understand how powerful vanilla JavaScript can be by just looking at your source!

One neat thing you can do is embed an SVG favicon in your html page, which will be properly rendered at all resolutions on all major browsers - plus it saves another sub-resource request. Here is the favicon at https://simpatico.io/svg

  
      
  "/>
This can help you make your already clean source even cleaner and delete some subresources. Cheers!

Re: Show HN: Bubbles, a vanilla JavaScript web game

#6
Your source is nice and clean[1]. No dependencies is a wonderful goal. Status quo is inherently always against innovation. I like the approach the Go team took of rethinking new solutions from first principles, and I hope you got to experience the joy of that in this project.

[1] https://github.com/ehmorris/bubbles/

Re: Show HN: Bubbles, a vanilla JavaScript web game

#7
post #6

Your source is nice and clean[1]. No dependencies is a wonderful goal. Status quo is inherently always against innovation. I like the approach the Go team took of rethinking new solutions from first principles, and I hope you got to experience the joy of that in this project. [1] https://github.com/ehmorris/bubbles/

Thanks! Writing the game has been really fun and I’m proud of the codebase. It’s therapeutic to work on it because I get to skip all the frustrating parts of web dev like writing config files.

Re: Show HN: Bubbles, a vanilla JavaScript web game

#9
A touchpad seems to really cripple the gameplay -- one idea could be to ask what device players are using and make slight adjustments. For touchpads, moving the cursor is slower, and the drag-pull mechanism doesnt really work -- and its easy to misclick a drag.

Some rougelike mechanics would also make it possible to naturally level the gameplay -- ie., the more failures a person has the more metaprogression they get, so worse players unlock a natural easy mode.

Post reply on HN