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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Elevator Saga: An elevator programming game (2015)

126 点作者 lnyan超过 1 年前

11 条评论

grishka超过 1 年前
There exist systems where, instead of selecting a floor when you enter an elevator, you select a floor in the hall and then are told which elevator to take. I wonder how much this advance knowledge about who is going where helps with scheduling. Intuitively I feel like it should help substantially, but in practice people get confused by these systems and end up on wrong floors.
评论 #37308839 未加载
评论 #37307231 未加载
评论 #37308647 未加载
评论 #37309980 未加载
评论 #37308220 未加载
评论 #37308620 未加载
评论 #37307728 未加载
schemescape超过 1 年前
There’s a version with autocomplete here:<p><a href="https:&#x2F;&#x2F;jaredkrinke.github.io&#x2F;elevatorsaga&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;jaredkrinke.github.io&#x2F;elevatorsaga&#x2F;</a><p>I swapped in VS Code’s editor component (Monaco) and added TypeScript type declarations someone had posted. Note: The official game isn’t accepting PRs anymore, but details and code are here: <a href="https:&#x2F;&#x2F;github.com&#x2F;magwo&#x2F;elevatorsaga&#x2F;pull&#x2F;137">https:&#x2F;&#x2F;github.com&#x2F;magwo&#x2F;elevatorsaga&#x2F;pull&#x2F;137</a>
i_don_t_know超过 1 年前
A long time ago I took an AI class where we wrote an elevator simulation. The elevators were intelligent agents that tried to learn strategies for moving people faster &#x2F; reduce wait times &#x2F; etc. This was long before neural networks came into fashion. We used logic, rules, but also decision trees. Fun times.
评论 #37311994 未加载
Amorymeltzer超过 1 年前
Previously:<p>- 2015: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8929314">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8929314</a><p>- 2021: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27487111">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27487111</a><p>- 2022: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33249988">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33249988</a>
hoten超过 1 年前
Probably cheating, but behold! The Elevator wiki<p><a href="https:&#x2F;&#x2F;elevation.fandom.com&#x2F;wiki&#x2F;Elevator_algorithm" rel="nofollow noreferrer">https:&#x2F;&#x2F;elevation.fandom.com&#x2F;wiki&#x2F;Elevator_algorithm</a><p><a href="https:&#x2F;&#x2F;elevation.fandom.com&#x2F;wiki&#x2F;List_of_elevator_special_modes" rel="nofollow noreferrer">https:&#x2F;&#x2F;elevation.fandom.com&#x2F;wiki&#x2F;List_of_elevator_special_m...</a><p>I&#x27;m a fan of the Sabbath mode.
ericras超过 1 年前
A command line version of SimTower.
评论 #37316950 未加载
KingOfCoders超过 1 年前
I&#x27;ve used something like this (my code, Java, ~1k LOC) for code interviews, because I was always thinking about what would be the best algorithm for an elevator when going in on - to this day.<p><pre><code> 1. Explain what is going on 2. Fix a bug in the code 3. Add a small feature</code></pre>
abridges6523超过 1 年前
Somebody should add elevator recall feature for when a lobby smoke detector trips!
emmanueloga_超过 1 年前
I prefer <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Elevator_Action" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Elevator_Action</a> :-)
评论 #37307429 未加载
Night_Thastus超过 1 年前
I enjoy this, though it&#x27;s a bit hard since I don&#x27;t know JS specifically. Definitely a nice game though!
radikalerludwig超过 1 年前
I‘m really interested for something similar in c
评论 #37307701 未加载