55 points · by chillax · 1y ago · 29 comments
I spent an hour playing it! It is quite good.
Is there a source code available for this game?
Does anyone know of a game similar to this with source code available? That would be cool. I have so many ideas that I would like to implement!
Really fun game, thank you for linking it!
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.
(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..)
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.
<script src="https://ipv4.games/claim?name=gruez">
or <iframe src="https://ipv4.games/claim?name=gruez">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.
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