Lurker News
Hi HN ! This is an open source project I've been working on for a while. It's actually the third breakout-like game I've built. I really like the simplicity of the concept, having just one input (the puck horizontal position) and a simple gameplay that gives a low skill floor.

My girlfriend and I played a lot of the excellent LBreakoutHD, an open source breakout game that follows the traditional formula of having multiple lives, scoring points by breaking bricks and catching the good upgrades that spawn randomly and fall down, while avoiding bad upgrades.
She liked this game because it is non-violent, and doesn't make her sick like the first person 3D games. There are some issues though, it gets boring to break the last bricks, it's a bit unfair or slow sometimes, and the run length is too long with 30 something levels to clear for a high score.
I wanted to make a clone that would be fix those issues. I first tried to introduce more strategy by making the upgrades visible from the start, instead of them appearing randomly. You'd then strategize what to break first to earn more points. That first version is playable (https://breakout-v1.lecaro.me/) but a bit too complex.
I then wanted to simplify the gameplay, but make the game multiplayer in split screen (https://breakout-v2.lecaro.me/). Instead of bonus and malus, each brick drops some coins, and you need to catch them with the puck. This worked pretty well. You can play with the keyboard (A/D and LEFT/RIGHT keys) or mouse or both. The bomb explosions will blow coins around, including the coins of other players, and if you lose your ball, then a gap opens between your screen and the guy next to you, to give him a chance to lend you his ball. You can play using your phone as a controller by scanning the QR code, but make sure everyone is on the same Wi-Fi and that the the firewalls are down.
For my last version (https://breakout.lecaro.me/) is focused on the game feel and juice. It is about breaking bricks and catching coins, like the v2, but you can now pick upgrades at the end of each level. Your score unlocks more upgrades and levels that are added to the pool for the next runs. There are currently 31 upgrades and 91 levels to unlock.
Please have a try and tell me what you think. The game should run well on Firefox, safari and chrome on mobile and pc. It is available in F-Droid and on the play store, The source code is on GitLab. All links are in the game menu.

Comments (189) 55 threads

Earlier comments
alentred1 reply#
Isn't the original Breakout copyrighted? There seems to be many clones of the game, and also in large platforms like Steam, I wonder how that works.

(Not buzzkilling anything, just genuinely curious.)

codetrotter1 reply#
IANAL, TINLA

In intellectual property law you have a few different concepts including:
- copyright
- trademarks
- patents
Copyright law would generally prohibit ripping off the original assets from another game or copying their code, but it would to my understanding not prevent anyone from making a “clone” of another game as long as the assets and the code are your own. And as long as those assets of yours are actually distinct looking and not the same look or too similar to the original, and your code is your own and not something you wrote by reverse engineering the code of the original yourself. Also there is a concept called “clean room implementation” that is sometimes used where they do reverse engineer other people’s code, but the person or people doing the reverse engineering and the person or people implementing the clone are separate people and the people implementing it only look at documentation from the people that reverse engineered it without looking at any of the reverse engineered code itself.
Trademark law might prevent you from using the name “Breakout” in the name of your clone, if there is a trademark on that. On the other hand, if there was a trademark but the name has become a generic word for the thing, the holders of the original trademark might not be able to prevent you from using the name even so. I have not looked into the trademark status of “Breakout”.
Software patents might prevent you from copying mechanics from a game. For example if there is a patent relating to how Breakout works. I haven’t looked into whether there are any patents on that, as I am not planning to publish any Breakout clone myself.

lecarore#
I assumed that the game was so old the concept was up for grab, but there might be some obscure patent. Given how many successful commercial games were made based on this concept, I'd assume the patent trolls would have killed the genre if there were any with valid patents to show. I might be wrong ^^
koinedad1 reply#
I like the idea, makes it much more engaging. Some things were a little confusing like the coins concept. Also sometimes the ball trajectory is a little wonky, not sure if that’s just me. Nice work!
lecarore#
Yes, I need to make the coins look like coins, roll around and sound like coins. I'm still not sure of how to convey the multiplier/combo idea. For the trajectory, the engine is homemade and well, let's say the laws of physics have been simplified.
gennarro1 reply#
Any more details on how you made it, tools, etc? It's a lot of fun and I appreciate the gitlab link, just curious about the tooling and process that got you to such a great point.
lecarore1 reply#
It's all handwritten js, lots of trying the game and figuring out what's fun, what's not. I don't even use a bundler, right click / show source will show the code I wrote. I made an apk for it and added a small deploy script that ssh to my server and pushes the code. The code is written with webstorm, but you could use anything. I've asked mistral AI for help when it came to making procedural sounds, the rest is just a lot of trial and error. I have a small ui to make levels and icons that's also handwritten.
gennarro#
awesome and inspiring. really enjoying it. Thanks!
tiku1 reply#
Does anyone know the url of the variant with multiple balls? Blocks have numbers and you get more balls the more you play. I cannot find it, is was on ycombinator news a few years ago.

Load more comments