372 points trwhite 5 days ago 95 comments

YeahThisIsMe 5 days ago | parent

This is the year of old browser (and/or flash) games making a comeback in some form.

walrus01 5 days ago | parent

ashdnazg 5 days ago | parent

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....

jonplackett 5 days ago | parent

It’s nice but clearly designed for desktop

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

trwhite 5 days ago | parent

It sorta works. Hoping to do more testing (tomorrow)

leetrout 5 days ago | parent

Just a few tokens away from a flutter port

toobulkeh 5 days ago | parent

Clicking too fast zooms the browser which breaks the click placement. Native Mobile would be much better.

Great concept!

leptons 5 days ago | parent

>It’s a mobile world.

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

mkatx 5 days ago | parent

Nice, a lot of fun!

iamwil 5 days ago | parent

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!

wmanley 5 days ago | parent

> It's like Space Golfing

Or pool...

I am prince of the planet potters!

x______________ 5 days ago | parent

>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 5 days ago | parent

And that was the inspiration for the attack in The Expanse, or was it the other way around?

adamesque 5 days ago | parent

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.

40four 5 days ago | parent

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

msephton 5 days ago | parent

Tap the black hole and it gives you ability to add and remove.

trwhite 5 days ago | parent

I just pushed an update. Click on the hole and controls will appear. I think you'll enjoy the later levels (10+)

hnuser123456 5 days ago | parent

Nice domain name

trwhite 5 days ago | parent

Thanks. The important context is that I am 6ft 7 (and once knew all the words to Hypnotize)

rapidfl 5 days ago | parent

also need a way to increase the sim speed. 1.5x 2x etc

Definitely a fun game kudos!

gschizas 5 days ago | parent

Click on the hole. There will appear 3 buttons, one to add mass, one to subtract and one to delete the hole completely.

mihaaly 5 days ago | parent

I love it! : )

manlymuppet 5 days ago | parent

Never ignored a tutorial faster.

(This is a compliment.)

chirau 5 days ago | parent

I know right? As soon as I saw the page, I had a rough idea of how to control things already. lol

trwhite 5 days ago | parent

Thanks! I like the keyboard experience (space for start/stop), arrows to add/subtract mass. Maybe I will add tabbing

Razengan 5 days ago | parent

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.

fullstackwife 5 days ago | parent

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!

kkhire 5 days ago | parent

Fantastic! Should add an (optional) instruction level, but would have loved this game as a kid.

mosfets 5 days ago | parent

This is somehow surprisingly fun, a good game to play with kids.

shantanujoshi 5 days ago | parent

wow wonderful game this is super fun! Would love it on iOS

xixixao 5 days ago | parent

It launches on mobile safari but doesn’t seem playable, landscape on mobile safari sucks.

trwhite 5 days ago | parent

Sorry, it very much began as a desktop game. Hoping to work on it if I have time tomorrow

shantanujoshi 2 days ago | parent

P.s. made an iOS version Milk Orbit on TestFlight lmk if you want to play!

trwhite 2 days ago | parent

OP here: Should have an iOS version going out tomorrow

davelacy 5 days ago | parent

bravo - excellent game

rkagerer 5 days ago | parent

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.

EA-3167 5 days ago | parent

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."

trwhite 4 days ago | parent

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

joshspankit 4 days ago | parent

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

temp0826 4 days ago | parent

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)

trwhite 2 days ago | parent

OP here: An iOS version is coming out in the next couple of days, with new puzzles, interesting physics and pigs!

Loughla 5 days ago | parent

Fun, but terrible on mobile.

NooneAtAll3 5 days ago | parent

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!

amelius 5 days ago | parent

This one was cute also:

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

(check the autopilot option)

peesem 5 days ago | parent

reminds me of Gravitee, except in that game the planets are pre-positioned and you're hitting a golf ball

matheusmoreira 5 days ago | parent

Love it.

baw-bag 5 days ago | parent

I love these kind of things and all of their quirks. Just interacting with a webpage in a fun way. More of this!

simonjgreen 5 days ago | parent

Well, this is going to be a fun problem

wat10000 5 days ago | parent

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.

sebastianconcpt 5 days ago | parent

Love it. And thanks for the refreshing skeumorphism

GalaxyNova 5 days ago | parent

I don't know if it's that refreshing. Looks like standard Claude generated style.

jakzurr 5 days ago | parent

Way, way more fun than expected. Played on desktop, though.

eezing 5 days ago | parent

Very neat.

joshu 5 days ago | parent

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 5 days ago | parent

Please, where are the others?

goolz 5 days ago | parent

I just spent a ton of time on this. Reminds me of the joy from those old flash sites like addictinggames.com. Bravo.

jdw64 5 days ago | parent

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.

grobibi 5 days ago | parent

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 5 days ago | parent

There are dozens of us!

monadoid 5 days ago | parent

DOZENS!

fogleman 5 days ago | parent

Well, this is strangely familiar to a game I just vibe-coded recently!

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

emkoemko 5 days ago | parent

i guess thats what you get for not caring about the art work? it ends up looking the same right?

derpyzza 5 days ago | parent

"how odd, my plagiarism machine spit out the exact same thing as your plagiarism machine!"

slopinthebag 5 days ago | parent

looks like you both stumbled upon the same rlhf checkpoint

djaro 4 days ago | parent

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 4 days ago | parent

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.

SeriousM 5 days ago | parent

The steering is 1:1 the same as from https://store.steampowered.com/app/366910/The_Long_Journey_H... . did you knew it before?

drob518 5 days ago | parent

Very cool. Had some trouble figuring it out on iPad.

willguest 5 days ago | parent

Nicely done, and interesting to see how the computer "solved" some of them. It is even sneakier that I am.

CarVac 4 days ago | parent

It used pairs of holes in a very different way than I did.

yogthos 5 days ago | parent

I ended up making a very similar game for a hackathon with a friend years ago https://github.com/yogthos/graviton/

frellus 5 days ago | parent

Wellll.... this is *(&#@ addictive. I need my Saturday night back now, man

frellus 5 days ago | parent

Well, this was (*)@&#$@# addictive. I need my Saturday night back now, man

smorgasborg 5 days ago | parent

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 days ago | parent

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 4 days ago | parent

You have my permission. It looks awesome

nilslindemann 5 days ago | parent

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 5 days ago | parent

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.

Vivek-KY 5 days ago | parent

event horizon ,relay,and last hole punch was crazy it took lots of time. completed all 20. appreciate it dude

swiftcoder 4 days ago | parent

This is a lot of fun (only tried on desktop)

kang 4 days ago | parent

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

sajithdilshan 4 days ago | parent

Doesn’t work on mobile safari. Tapping on a blackhole does nothing

petepete 4 days ago | parent

Same on the latest Chrome on Android.

trwhite 4 days ago | parent

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

endlessvoid94 4 days ago | parent

Very fun. Got far enough to need the black holes to provide the starting motion and gave up.

trwhite 4 days ago | parent

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

mnw21cam 4 days ago | parent

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 4 days ago | parent

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 4 days ago | parent

There are plugins that make the orbital paths of the planets and moons - and the ships - more realistic.

m-nez 4 days ago | parent

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.

jvandonsel 3 days ago | parent

There goes this week's sprint.

shantanujoshi 2 days ago | parent

This was delightful but I wanted it portrait as well and on iOS and w haptics! Take a spin:

https://testflight.apple.com/join/UdK72Y77

trwhite 2 days ago | parent

Working on an iOS version already ;)

shantanujoshi 1 day ago | parent

Nice! Ty for making this trwhite!!! Here's the code from that tf build: https://github.com/milkinfrastructure/milk-orbit

wanted to play on ios w haptics in our corpo ui/ux, so I used a couple oai resets and made astra 6 ultra max whip this up.

https://testflight.apple.com/join/UdK72Y77