This is a text-based adventure game for python class inspired by this post on The Invent with Python Blog.
The source code is on github.
To run it in Replit:
-
Click the Run button.
-
Click the Console tab in the right pane.
(It may install poetry dependencies first. If so, just give it a minute.)
-
(Optional) Click the file icon on the left to close the sidebar.
-
Focus the Console by clicking into that pane. (The cursor block will turn solid instead of an outline.)
-
Type at the > prompt to play!