Bubbles is a simple, yet addictive web game built entirely with vanilla JavaScript, requiring no external libraries or frameworks. The goal is to click and pop rising bubbles before they reach the top of the screen. Each popped bubble awards points based on its size, with smaller bubbles giving more points. The game features increasing difficulty as the bubbles rise faster over time. It's a lightweight, browser-based experience designed for quick bursts of fun.
Breakout has been reimagined with a roguelite/Vampire Survivors twist. Instead of a paddle, you control a constantly firing character at the bottom of the screen. Power-ups drop from destroyed bricks, enhancing your abilities like fire rate, spread, and projectile type. The game features a constantly increasing difficulty and permanent upgrades that persist across runs, allowing you to progress further with each attempt. It's playable in-browser and built using JavaScript, offering a modern take on a classic arcade experience.
Hacker News users generally praised the game's simple yet engaging gameplay, with several commending the smooth controls and satisfying feel. Some suggested potential improvements, like adding more variety in enemy types and level design, incorporating sound effects, and implementing a scoring system. A few users compared it to other similar games, noting its roguelite elements and fast-paced action. The developer actively participated in the discussion, responding to feedback and outlining plans for future updates, including mobile support and new features. Overall, the reception was positive, with users appreciating the game's polish and addictive nature.
Summary of Comments ( 67 )
https://news.ycombinator.com/item?id=43355658
Hacker News users generally praised the game's simplicity and clean implementation, using vanilla JavaScript without frameworks. Several commenters appreciated the satisfying gameplay and the nostalgic feel, reminiscent of early web games. Some suggested potential improvements, like adding sound effects, different bubble sizes, or a score counter. A few users delved into technical aspects, discussing the collision detection algorithm and potential performance optimizations. One commenter even shared a modified version with added features. The overall sentiment was positive, with many finding the game a fun and well-executed example of simple web development.
The Hacker News post for "Show HN: Bubbles, a vanilla JavaScript web game" generated several comments, discussing various aspects of the game and its implementation.
One commenter praised the game's simple yet engaging nature, finding it a welcome alternative to overly complex mobile games. They appreciated the lack of intrusive ads or unnecessary features, highlighting the clean and straightforward gameplay.
Another commenter focused on the technical aspects, commending the developer's choice to use vanilla JavaScript. They viewed this as a positive demonstration of the language's capabilities without relying on external libraries or frameworks. This commenter further suggested potential improvements, like implementing keyboard controls for accessibility and enhanced gameplay.
Discussion also arose regarding the scoring system. One commenter questioned the scoring logic, prompting the original poster (OP), the game's developer, to clarify how points are awarded based on bubble size and proximity. This exchange fostered a constructive dialogue about game design and player experience.
Several commenters shared their personal high scores, fostering a sense of friendly competition and community engagement. Others offered feedback on the game's difficulty curve, suggesting adjustments to make it more challenging or balanced.
The use of
requestAnimationFrame
was also a point of discussion, with a commenter appreciating its implementation for smooth animations and efficient resource management. They further suggested considering alternative timing mechanisms for potential performance gains.Overall, the comments section reflects a positive reception of the game, with users appreciating its simplicity, performance, and the developer's technical choices. The discussion also provided valuable feedback for potential improvements and showcased a constructive interaction between the developer and players.