Skip to content

Comment on YOU_ARE_DEAD, a 1D Roguelikeparent

Comments

Really? I read the source and it really is as simple as it looks, although there are some clever optimizations such as SCORE also being used to keep track of your current location.

I also like the CHOICE variable in which the probability of encontering a monster is decreased by adding more spaces.

  CHOICES="~.     "
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.