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.
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.
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.
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.
Some tips:
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.
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.
Surely, they are not obstacles. They are hideous monsters and the only way to survive is to fool them by wearing the skin of one of them.
Wait, you can do that?
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.
CHOICES="~. "Old-school manga trivia fail! (They were probably making a reference you were missing this whole time.)
http://developer.apple.com/library/mac/#documentation/Darwin...
Though I died on the last char of the line :( WHAT HAPPENS WHEN YOU REACH THE END OF THE LINE!!!
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...
First Port: Dvorak Version : https://github.com/cavedweller/YOU_ARE_DEAD