TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Asynchronous procedurally-generated competitive multiplayer in the browser

5 pointsby richtauralmost 12 years ago
Procedurally generated content seems to be all the rage these days. It can be a useful tool for extending content and increasing replayability, but at the slight cost of players losing relative comparisons. When the level design is always different, it can be difficult to compare player skill levels.<p>In [this browser-based alpha](http:&#x2F;&#x2F;cryptrun.lostdecadegames.com&#x2F;), procedural generation is deterministic, backed by a simple linear congruential generator. Each time a dungeon is generated, the seed value for the pseudorandom number generator is cached. When a player’s game is over, a URL is displayed that has the seed and score information encoded within. This makes for a very small amount of data that can easily fit within HTTP GET limitations. When the challenger&#x27;s game is over, the two scores are compared, and comparative skill levels can be determined.

1 comment

NoPiecealmost 12 years ago
Very nice. I liked the screen rotation in the death world.