TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Asynchronous procedurally-generated competitive multiplayer in the browser

5 点作者 richtaur将近 12 年前
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

NoPiece将近 12 年前
Very nice. I liked the screen rotation in the death world.