I spent an hour playing it! It is quite good.
Is there a source code available for this game?
Really fun game, thank you for linking it!
Also, submission title “Welcome to the IPv4 Games” is altered; the original title is “IPv4 Turf War”.
Previously: https://news.ycombinator.com/item?id=32790429
nicman23•14h ago
vaylian•14h ago
maverwa•14h ago
Edit: looks like thats it: https://github.com/jart/cosmopolitan/blob/master/net/turfwar...
So basically someone is running a script iterates over the whole ipv4 range and calls the claim endpoint with each single adress in the X-Forwared-For http header once.
3r7j6qzi9jvnve•14h ago
(I came here because I was curious how jart got 127 and 10, but after seeing the source is their's that's less of wonder..)
sgjohnson•12h ago
the code doesn't consider 127.0.0.0/8 as "private". I'm curious about 10.0.0.0/8 though.*
elitepleb•14h ago
viraptor•12h ago
maverwa•10h ago
maldonad0•13h ago
sgjohnson•12h ago
With UDP you can send whatever, but obviously you won't be able to receive the response.
Sesse__•11h ago
viraptor•12h ago
cedws•12h ago
sgjohnson•12h ago
usui•12h ago
nilsherzig•10h ago
nilsherzig•10h ago
But according to the servers status at http://35.223.193.241:443/statusz nearly all claim requests expected to get html back not images.
gruez•9h ago
bombcar•10h ago
adzm•9h ago
justusthane•4h ago
Edit: Apparently they run https://novo.tf/, a CAPTCHA service, so they're probably using that to call out to ipv4.games from their clients.