Better HN
topnewbestaskshowjobs
Log inSign up

sgolem

32 karma · joined Jun 5, 2020 (6y ago) · 24 submissions

Submissions

comment 4w ago · link · parent

Who is it to say what's the ideal wealth ratio between quintiles? I know who, a local communist!

Wealth inequality is a completely pointless metric that tells us nothing about individual quality of life, and is being pushed by the left wing ideologies to serve their agendas.

For example, you could propel yourself into the top quintile by just packing up and moving to Liberia, but that would not increase your quality of life now, would it?

comment 8mo ago · link · parent

Not sure why is that. Can you provide more details or try again?

comment 8mo ago · link · parent

I've added a "How To Play" button now before you start the game, and have polished up those error paths. Now they should be much less common and displayed more nicely.

comment 8mo ago · link · parent

Well, the purpose of this initial post was to just let people know it exists. I agree that those topics could be interesting and I might write them up in a blog.

The game doesn't really force any blockchain usage on you, but it will be optional in the future to play matches where you can win money.

Also, those terms were more or less vibed into existence so bear with me as I refine them into something solid in the near future.

Thank you for the feedback.

comment 8mo ago · link · parent

It should work on every browser that supports WebGL and SharedArrayBuffer. That should include Edge on Linux, but I'm not sure.

comment 8mo ago · link · parent

Hey, thank you for all these details, I really appreciate it!

I also use a 144Hz monitor and the framerate is often rock solid at the top. The problem is with browsers and battery powered devices. Chrome often locks up the game at 30, 60, or 120 FPS randomly, on battery or AC. I still haven't figured that one out.

I'm fixing some of those errors up right now. The problem is that I don't have a regular play testing base and for some players that do play it they're based relatively close to the server. I assume many issues reported here are from the US based folks, and I'm in Europe.

Thanks once again, I'll use this to improve it!

comment 8mo ago · link · parent

Sorry, that can definitely be improved. And is probably best to remove it until the game attracts some regular players for the queue to make sense. Will do.

comment 8mo ago · link · parent

Yes it's Bevy, with a custom backend game loop/simulation.

comment 8mo ago · link · parent

The idea definitely came from openfront and territorial, I've played both. But this codebase has nothing to do with them, it was built from scratch.

comment 8mo ago · link · parent

Yeah it's heavily inspired by openfront and territorial, I've played both. My goal for this was to see how far I can push it in terms of player count and map sizes.

comment 8mo ago · link · parent

This is a WIP version, and custom game seems to work for many players. I would've really appreciated if you told me how it didn't work so I can fix it.

comment 8mo ago · link · parent

Bots are run on a separate thread from the main game loop and I can configure them to have a particular amount of actions per tick or second - to simulate real player action frequency.

In my tests core game loop handles 1024 bots without issues, often running 5-20x of realtime.

comment 8mo ago · link · parent

One of the main challenges has been making the map simulation work for hundreds of simultaneous players without the server becoming a bottleneck.

Most interactions are event-driven and the map state updates incrementally, which keeps things manageable even when many borders are shifting at once.

I've successfully tested this with 4096^2 maps and 1024 players and in those tests framerates were stable at 144 FPS, with the server ticking steadily at the standard 10 TPS.

It is built on Rust and Bevy. I'm happy to answer any questions.

14.

Show HN: Browser grand strategy game for hundreds of players on huge maps(borderhold.io ↗)

54 points · by sgolem · 8mo ago · 37 comments

comment 1y ago · link · parent

This is the first thing I “vibecoded” a couple of days ago. I really like the game in general and now find myself playing a few times per day. I might try to add some non-classical modes to the game in the future, or I might just leave it as it is, not sure.

16.

Hammurabi: a Rust recreation of the classic 1968 BASIC game(github.com ↗)

5 points · by sgolem · 1y ago · 1 comment

comment 1y ago · link · parent

I've written a NEAT implementation in Rust a few years back. It was able to train XOR and pole balancing.

https://sgolem.com/blog/neat-simple-neuroevolution-framework...

comment 3y ago · link · parent

Can this be run with llama.cpp?

comment 5y ago · link · parent

As long as users need to think about homeservers we can't expect a substantial migration.

As far as I'm aware there is work being done on the fully p2p version of Matrix where every device is a server. If that allows abstracting away homeservers, and if they solve multi device identities in a clean way, only then Matrix might be able to compete with an "ordinary" chat app for the majority of users.

20.

Neat: Simple Neuroevolution Framework, in Rust(sgolem.com ↗)

1 points · by sgolem · 5y ago · discuss

21.

Today’s Apple Event in 4K60(twitter.com ↗)

1 points · by sgolem · 6y ago · discuss

22.

Halite III Bot Development Kit in Rust(sgolem.com ↗)

1 points · by sgolem · 6y ago · discuss

23.

Kicking Node into high gear for data processing(sgolem.com ↗)

1 points · by sgolem · 6y ago · discuss

24.

Building an easy on the eyes IKEA style blog, in no time, for free, again(sgolem.com ↗)

1 points · by sgolem · 6y ago · discuss