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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

YOU_ARE_DEAD, a 1D Roguelike

72 点作者 lysol超过 12 年前

16 条评论

roryokane超过 12 年前
The missing instructions:<p>You are the ‘x’. Your immediate goal is to beat the level by reaching the right side. Press D to walk right one step. You can press A to step back left, but there is never a reason to do so.<p>The ‘~’ and ‘.’ are obstacles; you will die if you walk onto them normally. To safely step onto the obstacles, press W or S to turn your x temporarily into the same character as the obstacle – W for ‘~’, S for ‘.’. Then, when you move right onto the obstacle, it will be removed, and your character will be an ‘x’ again.<p>When you walk past the right edge of the level, you are arrive at the left side of a new level, with randomly-generated obstacles and spaces. When you die, your score is equal to how many steps right past the start you are.<p>If you are careful not to step right unless you’ve transformed yourself to match any obstacle to your right, you cannot lose the game. Beating the last level, level 10, is simply a test of perseverance and thinking before you step.<p>Some tips:<p>Resize your terminal window to change the length of each level. Note that beating a level provides no bonuses to your score. The maximum possible score is the width of a level times 10, so make your window wide if you’re aiming for that.<p>It does no harm to transform yourself before stepping on an empty space. Thus, if you have a series of obstacles such as ‘~ ~~ ~’, just repeatedly press WD to safely step across. This is easier than deciding whether to press D or WD before each step.
评论 #5163231 未加载
评论 #5162556 未加载
评论 #5162330 未加载
cturner超过 12 年前
For anyone eager to have a go at writing a small roguelike, the 2013 seven day roguelike festival will be March 9 to March 17. <a href="http://7drl.org/2013/01/31/we-have-dates-for-7drl-challenge-2013/" rel="nofollow">http://7drl.org/2013/01/31/we-have-dates-for-7drl-challenge-...</a><p>Roguelike Radio episode on making a 7drl: <a href="http://www.roguelikeradio.com/2012/03/episode-26-how-to-make-7drl.html" rel="nofollow">http://www.roguelikeradio.com/2012/03/episode-26-how-to-make...</a><p>This year's developer conference is in Poland, <a href="http://roguebasin.roguelikedevelopment.org/index.php?title=IRDC_2013" rel="nofollow">http://roguebasin.roguelikedevelopment.org/index.php?title=I...</a>
评论 #5164320 未加载
sirclueless超过 12 年前
Oh god, rupa's most popular repos are named z, j, sprunge, j2, and v. His blog domain is un.ix.io and his email is @lrrr.us. He sounds like a great developer, but I wouldn't want him naming my variables for me :)
评论 #5161939 未加载
评论 #5161888 未加载
评论 #5162053 未加载
评论 #5161810 未加载
vitno超过 12 年前
I found this highly amusing.<p>First Port: Dvorak Version : <a href="https://github.com/cavedweller/YOU_ARE_DEAD" rel="nofollow">https://github.com/cavedweller/YOU_ARE_DEAD</a>
acangiano超过 12 年前
Take this as the perfect example of how not to document a project.
评论 #5161166 未加载
pluies超过 12 年前
In OS X (well, Snow Leopard at least), YOU_ARE_DEAD throws an error because `seq` doesn't exist in OS X and brew doesn't have it. This script does the trick: <a href="http://www.askdavetaylor.com/step_through_count_numeric_values_bash_shell_script.html" rel="nofollow">http://www.askdavetaylor.com/step_through_count_numeric_valu...</a>
评论 #5161389 未加载
评论 #5167196 未加载
评论 #5161286 未加载
jstanley超过 12 年前
My only objection is that it is unfairly hard for people with wide screens. I've made a narrower terminal because I got annoyed with having to play such a long level in order to make attempts at advancing the level (I've done it once by accident but not sure what I did).<p>EDIT: I've now figured out how to do it. Thinking I'd found all of the special rules I read through the source. There are some real gems in there :).<p>EDIT2: Huh, it looks like I was overthinking the level-advancing. There is no code for the problem I thought I was solving; I must have imagined it.
评论 #5161487 未加载
评论 #5161247 未加载
stcredzero超过 12 年前
Up next, a post-apocalypse JRPG mod: YOU_ARE_ALREADY_DEAD
评论 #5161473 未加载
评论 #5161924 未加载
kunil超过 12 年前
Added a moving monster <a href="https://github.com/shultays/YOU_ARE_DEAD" rel="nofollow">https://github.com/shultays/YOU_ARE_DEAD</a>
devgutt超过 12 年前
~ is like a bird and . is like a rock. I should move down to escape the bird and up to jump the rock :p ...well, back to work...thanks for the game, a good refresh
naftaliharris超过 12 年前
Do you suppose the author is a lefty? I'm right-handed, and one of the challenges for me was using my left hand on the WASD keys.
评论 #5162188 未加载
joe_hoyle超过 12 年前
192!<p>Though I died on the last char of the line :( WHAT HAPPENS WHEN YOU REACH THE END OF THE LINE!!!
评论 #5161361 未加载
评论 #5161362 未加载
astrobe_超过 12 年前
Speaking of ASCII games I found out that there are tons of rogue-likes, but no C&#38;C/starcraft-like games. Or I couldn't find one except for very old DOS games maybe.
31d1超过 12 年前
FWIW the project is updated with a whole new gameplay mechanic and 'the missing instructions' are no longer relevant.
jingadjanga超过 12 年前
The missing instructions: Win repeatedly at rock, paper, scissors.
zem超过 12 年前
harder than it looked!