Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by deterministic

3 days ago

Just make a simple CLI adventure game:

1. Print "You are in a dark dungeon. There is a door ..." 2. Print "Your options are: 1. Open the door 2. Exit 3. Turn on ..." 3. Read a number as input 4. Goto (yes goto) similar code depending on choice.

0 comments

deterministic

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities