Live data from Hacker News

YOU_ARE_DEAD, a 1D Roguelike

github.com

11–20 of 44 posts

Re: YOU_ARE_DEAD, a 1D Roguelike

#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. http://7drl.org/2013/01/31/we-have-dates-for-7drl-challenge-...

Roguelike Radio episode on making a 7drl: http://www.roguelikeradio.com/2012/03/episode-26-how-to-make...

This year's developer conference is in Poland, http://roguebasin.roguelikedevelopment.org/index.php?title=I...

Re: YOU_ARE_DEAD, a 1D Roguelike

#15
post #9

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: http://www.askdavetaylor.com/step_through_count_numeric_valu...

The seq dependency has been removed in HEAD.

Re: YOU_ARE_DEAD, a 1D Roguelike

#18
post #5

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). 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 :)…

> 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.

Isn't this what `tput cols` is for? You advance to the next level when you reach the right edge of your current window, however wide your window is.

Re: YOU_ARE_DEAD, a 1D Roguelike

#19
post #18
post #5

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). 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 :)…

> 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. Isn't this what `tput cols` is for? You advance to the next level when you reach the right edge of your current window, however wide your window is.

I thought you had to do some magic involving walking left for a little while before reaching the right edge. I'm sure a few times I reached the right edge only to be told I was dead.
Post reply on HN