NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Hole Punch: Sling your spaceship around gravitational fields (notoriousbfg.com)
rkagerer 1 days ago [-]
Great game, though the controls on mobile are a bit too imprecise.

As you drag a hole, the size widgets should disappear so you can better see what's around it. They could pop back up again once you're done dragging.

Personally I'd rather if you had to press a button or something (or long press?) to add a new hole. I keep accidentally adding new ones when all I want to do is adjust an existing one.

Also spamming the user with the help screen right off the bat is a bit much. As long as they know it's there and can pull it up / dismiss it, I think it would be more fun to sort of discover the game mechanics yourself.

Note several of the first 8 or so levels can be accomplished with a single minimum (8) sized black hole. Eg. I liked the simplicity of doing that on level 6.

temp0826 6 hours ago [-]
Being able to actually drag a hole makes it a little easier as well..! (Didn't even realize that was a thing as it was broken on mine...playing on desktop now)
joshspankit 7 hours ago [-]
Also a small bug: when rotating in response to the prompt to play in landscape, the button does not show and a refresh is needed while still in landscape
trwhite 7 hours ago [-]
I agree - the mobile sucks. I've made a couple of usability tweaks for now, but hope to have more time to spend on it in the week
EA-3167 1 days ago [-]
I resisted playing on mobile until I got home, and you're absolutely right that it's a whole other experience on desktop. In terms of addictive potential this reminds me favorably of that Seedship game, it's very simple, but powerfully "just one more round."
fogleman 23 hours ago [-]
Well, this is strangely familiar to a game I just vibe-coded recently!

https://www.michaelfogleman.com/gravity-assist/

SeriousM 15 hours ago [-]
The steering is 1:1 the same as from https://store.steampowered.com/app/366910/The_Long_Journey_H... . did you knew it before?
slopinthebag 22 hours ago [-]
looks like you both stumbled upon the same rlhf checkpoint
djaro 10 hours ago [-]
If you go on Amazon and search "100,000 whys", you will find page after page of essentially the exact same book. Presumably because asking some AI model "give me an idea for an educational book aimed at children" gave that answer.

I just asked ChatGPT to generate me an educational book title for children, searched the first result it gave me on Amazon, and found a book titled exactly that published a couple of months ago.

LLMs converge towards expected text which makes them really bad at creating novel interesting ideas when given essentially no information. You have to create the unique part yourself.

rcxdude 8 hours ago [-]
Yeah, for any given decision an LLM will tend towards a fairly limited set of answers across a pretty broad range of contexts unless you specifically steer it otherwise. It becomes pretty obvious when you run a lot of similar prompts through them. I remember one story of a teacher getting their class to use chatGPT for a creative writing exercise, and then getting them to read them out and compare them. What seemed like creative and novel choices from the LLM to each of them individually were actually replicated across most of the class.
emkoemko 23 hours ago [-]
i guess thats what you get for not caring about the art work? it ends up looking the same right?
derpyzza 12 hours ago [-]
"how odd, my plagiarism machine spit out the exact same thing as your plagiarism machine!"
m-nez 5 hours ago [-]
This reminds me a lot of the first game I made more than 10 years ago (https://github.com/m-nez/gravity_slingshot). In my case you change the trajectory of your ship by adjusting the strength of stationary attractors in real-time.
YeahThisIsMe 1 days ago [-]
This is the year of old browser (and/or flash) games making a comeback in some form.
ashdnazg 15 hours ago [-]
This is an old favourite of mine, the opposite of TFA, where you launch the ship and try to survive as long as possible without crashing into the gravity wells. https://web.archive.org/web/20031129163538/http://homokaasu....
walrus01 20 hours ago [-]
adamesque 1 days ago [-]
Fun idea, but kind of maddening that I can click and hold to add mass to a hole but if i overshoot, i can't do anything subtract mass or delete a hole.
gschizas 1 days ago [-]
Click on the hole. There will appear 3 buttons, one to add mass, one to subtract and one to delete the hole completely.
rapidfl 1 days ago [-]
also need a way to increase the sim speed. 1.5x 2x etc

Definitely a fun game kudos!

40four 1 days ago [-]
The ability to subtract mass is definitely needed. All you can do is click “undo” and try again. You can drag the holes around too. Still pretty fun, I played 5 or 6 levels
trwhite 1 days ago [-]
I just pushed an update. Click on the hole and controls will appear. I think you'll enjoy the later levels (10+)
hnuser123456 1 days ago [-]
Nice domain name
trwhite 1 days ago [-]
Thanks. The important context is that I am 6ft 7 (and once knew all the words to Hypnotize)
msephton 1 days ago [-]
Tap the black hole and it gives you ability to add and remove.
mnw21cam 8 hours ago [-]
I get that it's only a game, but all of these gravity games (with a couple of rare exceptions) ignore the fact that the black holes (or planets/suns) should be moving as well.
codesnik 6 hours ago [-]
Kerbal Space Program didn't! I wonder if it'd be much harder to simulate real gravity "spheres", with Lagrange points and all. But even without it, in simplified mechanics, planning slingshots and using Oberth effect had been fun.
pavel_lishin 2 hours ago [-]
There are plugins that make the orbital paths of the planets and moons - and the ships - more realistic.
iamwil 1 days ago [-]
This is kind of a cool concept. It's like Space Golfing.

Another alternative is to make it like a turn-based Scorched Earth (Mother of all games), where you can either

1. launch asteroid size projectiles across star systems in a field of stars and black holes to it each other.

2. launch projectiles that then place black holes (perhaps either by timeout or signal--taking into account the speed of light!) to change the field.

It's a good start!

x______________ 1 days ago [-]
>Another alternative is to make it like a turn-based Scorched Earth (Mother of all games)

Scorched Earth <3

Another version of this idea has been out for some time now, check out Interplanetary[0] (85% off today it seems!)

0 https://store.steampowered.com/app/650220/Interplanetary_Enh...

SeriousM 15 hours ago [-]
And that was the inspiration for the attack in The Expanse, or was it the other way around?
wmanley 1 days ago [-]
> It's like Space Golfing

Or pool...

I am prince of the planet potters!

8 hours ago [-]
grobibi 24 hours ago [-]
I refuse to hold my phone landscape even for videos so I'll never know how neat it is.

This is not an attempt to be a jerk. Just letting you know there's people like me out there.

stackghost 24 hours ago [-]
There are dozens of us!
monadoid 23 hours ago [-]
DOZENS!
nilslindemann 21 hours ago [-]
I love it. The dragging of black holes could be improved:

* The black hole is not moved until the cursor has moved more than five pixels.

* The first time the black hole moves in the dragging process, it moves more than one pixel, afterwards one. So it is a small jump and then it moves smooth.

* The cursor icon changes to the drag symbol only after the mouse has already moved five pixels, not as soon as the mouse button is hold down.

* When the mouse is outside the draggable zone, but still in the game window, the black hole is not dragged along the border.

gblargg 21 hours ago [-]
Also you can't move it too close to ship, but there's no feedback you're too close, so it looks it's just not responding.
jakzurr 1 days ago [-]
Way, way more fun than expected. Played on desktop, though.
endlessvoid94 9 hours ago [-]
Very fun. Got far enough to need the black holes to provide the starting motion and gave up.
trwhite 9 hours ago [-]
The "no fuel" mechanic is very challenging. If you click on the "sector" button at top left and then click "I give up" the computer will show you the solution. It's all about making gates with two holes and then steering by adding mass to one
amelius 1 days ago [-]
This one was cute also:

https://www.falstad.com/rendezvous/

(check the autopilot option)

goolz 1 days ago [-]
I just spent a ton of time on this. Reminds me of the joy from those old flash sites like addictinggames.com. Bravo.
sajithdilshan 9 hours ago [-]
Doesn’t work on mobile safari. Tapping on a blackhole does nothing
trwhite 9 hours ago [-]
I do apologise. I'm trying to replicate the mobile issues, though I don't have one to hand right now. I've just pushed up some changes that attempt to make touch interactivity a little better and I added full screen support
petepete 9 hours ago [-]
Same on the latest Chrome on Android.
frellus 22 hours ago [-]
Wellll.... this is *(&#@ addictive. I need my Saturday night back now, man
manlymuppet 1 days ago [-]
Never ignored a tutorial faster.

(This is a compliment.)

trwhite 1 days ago [-]
Thanks! I like the keyboard experience (space for start/stop), arrows to add/subtract mass. Maybe I will add tabbing
chirau 1 days ago [-]
I know right? As soon as I saw the page, I had a rough idea of how to control things already. lol
kkhire 1 days ago [-]
Fantastic! Should add an (optional) instruction level, but would have loved this game as a kid.
kang 10 hours ago [-]
frustrating game, feels half done. obviously least matter is consumed by bending it as close to the object, but game has crazy growth speed and no way to control it
fullstackwife 1 days ago [-]
Very nice, being busy with sth, and I could not go through all levels and reached the one with star(sun?), but the topic of gravity assist manouver was always inspiring for me, so I enjoy this game, congrats on making it!
drob518 23 hours ago [-]
Very cool. Had some trouble figuring it out on iPad.
mosfets 1 days ago [-]
This is somehow surprisingly fun, a good game to play with kids.
swiftcoder 11 hours ago [-]
This is a lot of fun (only tried on desktop)
willguest 23 hours ago [-]
Nicely done, and interesting to see how the computer "solved" some of them. It is even sneakier that I am.
CarVac 9 hours ago [-]
It used pairs of holes in a very different way than I did.
NooneAtAll3 1 days ago [-]
Loved it! Played all 20 levels

Some missions have mass budget so large it seems to imply a "go fast, crash fast" solutions, but there's no time-of-flight score :(

ha, now I want to see a leaderboard, with players' score distribution (mass/holes/time mb?), like the zachtronics games

I had a blast. Thank you!

baw-bag 1 days ago [-]
I love these kind of things and all of their quirks. Just interacting with a webpage in a fun way. More of this!
peesem 1 days ago [-]
reminds me of Gravitee, except in that game the planets are pre-positioned and you're hitting a golf ball
joshu 1 days ago [-]
i've been making a bunch of fun physics games like this. i need to push out the latest one. try this one, torture a parking optimizer: https://truckslop.joshu.dev/
SeriousM 15 hours ago [-]
Please, where are the others?
jonplackett 1 days ago [-]
It’s nice but clearly designed for desktop

It’s a mobile world. This would be so nice as a proper touch enabled game

leptons 1 days ago [-]
>It’s a mobile world.

Desktop and Mobile are at about a 50/50 split, no it's not exactly a "mobile world".

trwhite 1 days ago [-]
It sorta works. Hoping to do more testing (tomorrow)
leetrout 1 days ago [-]
Just a few tokens away from a flutter port
toobulkeh 1 days ago [-]
Clicking too fast zooms the browser which breaks the click placement. Native Mobile would be much better.

Great concept!

smorgasborg 21 hours ago [-]
thank you. just played all 20 levels. I want to see a dynamic mapping of the phase space as i drag a mass around. maybe i'll vibe code that.
smorgasborg 4 hours ago [-]
I went ahead & plotted this game's solution space. @trwhite, presuming your permission, i live linked to your physics.js. will gladly remove on request. you're welcome to incorporate my vibecode in the game.

https://smorgasb.org/holepunch-map.html

trwhite 3 hours ago [-]
You have my permission. It looks awesome
sebastianconcpt 1 days ago [-]
Love it. And thanks for the refreshing skeumorphism
GalaxyNova 1 days ago [-]
I don't know if it's that refreshing. Looks like standard Claude generated style.
simonjgreen 1 days ago [-]
Well, this is going to be a fun problem
frellus 22 hours ago [-]
Well, this was (*)@&#$@# addictive. I need my Saturday night back now, man
shantanujoshi 1 days ago [-]
wow wonderful game this is super fun! Would love it on iOS
xixixao 1 days ago [-]
It launches on mobile safari but doesn’t seem playable, landscape on mobile safari sucks.
trwhite 1 days ago [-]
Sorry, it very much began as a desktop game. Hoping to work on it if I have time tomorrow
Vivek-KY 13 hours ago [-]
event horizon ,relay,and last hole punch was crazy it took lots of time. completed all 20. appreciate it dude
mkatx 1 days ago [-]
Nice, a lot of fun!
yogthos 23 hours ago [-]
I ended up making a very similar game for a hackathon with a friend years ago https://github.com/yogthos/graviton/
jdw64 1 days ago [-]
There are a lot of browser games worth playing these days. It'd be nice if there were a site that could gather them all in one place.
eezing 1 days ago [-]
Very neat.
wat10000 1 days ago [-]
It might be a cheat, but I'd really like a mode where the projected path of the ship had unlimited length. The trial and error cycle is a bit too long for some of the more advanced setups.
matheusmoreira 1 days ago [-]
Love it.
Razengan 1 days ago [-]
Feedback:

- It would be nice to be able to manually key in the matter; on Safari desktop clicking uses up matter too quickly to set precisely.

- Key to speed up time once running.

mihaaly 1 days ago [-]
I love it! : )
davelacy 1 days ago [-]
bravo - excellent game
Loughla 1 days ago [-]
Fun, but terrible on mobile.
derin-picment 1 days ago [-]
[flagged]
jheriko 21 hours ago [-]
[dead]
20 hours ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 22:51:11 GMT+0000 (Coordinated Universal Time) with Vercel.