Skip to content

Text Based Adventure #238

Open
Open

Description

@lemonsaurus

Slay the dragon! Implement an old-school text-based adventure for our bot!

You can write the adventure any way you want, and pick any theme you want, no dragons required! The only hard requirement is that you must implement this in a way that isn't super noisy. That means, we can't have the bot posting dozens of messages every time you play a game.

An example of an implementation that isn't very noisy would be that the text is posted in a single embed that gets updated whenever the game progresses. Player input could happen through emote reactions rather than having the player typing. That would contain the entire game in a single message, rather than requiring tons of messages to be posted from either the bot or the player.

If you'd like to tackle this with a friend, please feel free to!

Implementation details

  • Come up with a story. Your story shouldn't be endless, this should be possible to complete in 5-10 minutes max.
  • Design the levels and the game progression around your story. What are all the rooms the player can enter? Which ones will progress the story, and which are dead ends? What can the player see in these rooms? What's the win condition? Are the multiple endings?
  • Write a playable prototype of your game as a bot command. It's fine to write this in a noisy way, initially.
  • Make all player interactions reactions instead of having the player type commands.
  • Make the entire game happen in a single message that the bot edits, instead of having the bot post new messages.
  • Create a pull request with screenshots (or gifs), showing off what you've made.
  • BONUS: Add graphics to show off stuff like bosses on special rooms.
  • BONUS: Make a system that is possible to easily extend with new campaigns! The campaign data might be serialized as a YAML, TOML, or JSON file, and perhaps the command can take an optional argument with a campaign_name to load a different file than the default. This will make it possible for other users to create more campaigns without having to recreate the bulk of the logic.

Additional information

  • Add your feature to the evergreen season.
  • Keep us updated on your progress by leaving comments!
  • Make sure to give you commits a descriptive commit message
  • Please note the style guide and conventions listed in the various contrib documents
  • If you use any graphics for your game, please make sure the assets are either created by you, or licensed under a compatible license to our MIT one. Ideally the assets should be licensed as Creative Commons or 100% free, but if you're comfortable navigating licenses, there may be other compatible licenses too.

Activity

  1. A5rocks commented on Aug 1, 2019

    @A5rocks

    Quick question: Could it be a rogue-like? (Just asking, I don't really think I could do this)

  2. Chlorophytus commented on Aug 4, 2019

    @Chlorophytus

    Putting some notes down here:
    I have worked with recursive divide/etc. maze generation algorithms in an obscure game engine, but not with Python.

    I was also thinking you can use the arrow indicators to move around, in reactions.

  3. SebastiaanZ commented on Aug 4, 2019

    @SebastiaanZ
    Contributor

    There are multiple people that have expressed interest in this issue, maybe we can work out a collaboration? I know Patrol was looking for someone to collaborate with for this issue on server, but they haven't commented here on the issue yet.

    Edit: I've pinged Patrol in the seasonalbot-chat channel; let's hope they'll join the conversation here, too.

  4. imPatrol commented on Aug 4, 2019

    @imPatrol

    Hi, I have arrived Sebastian

  5. SebastiaanZ commented on Aug 4, 2019

    @SebastiaanZ
    Contributor

    Hi! You mentioned on server yesterday that you want to take a shot at this, but would really like to work together with someone. Maybe you and @glowingrunes can work something out for that?

  6. imPatrol commented on Aug 4, 2019

    @imPatrol

    Yeah! of course, I would just need his discord so we can communicate better

  7. SebastiaanZ commented on Aug 4, 2019

    @SebastiaanZ
    Contributor

    @imPatrol and @glowingrunes are going to collaborate on this. I'll mark it as "in progress".

  8. 18 remaining items

  9. Xithrius commented on Aug 23, 2021

    @Xithrius
    Contributor

    @MrKomodoDragon @Kronifer what's your status on this feature?

  10. Kronifer commented on Aug 23, 2021

    @Kronifer
    Contributor

    I don't think it's happening at the moment

  11. removed their assignment
    on Aug 23, 2021
  12. added
    up for grabsAvailable for anyone to work on
    and removed on Sep 19, 2021
  13. Strengthless commented on Feb 24, 2025

    @Strengthless

    Hi folks. We're a group of students from KTH DD2480, and we'd like to take on this issue. Can I please be assigned?

    We'll be introducing an .adventure command that allows the user to play a text-based RPG. The plot will be JSON-based, with a graph-like structure, which allows the player to transit from one scene to another based on the decision they make at that point.

    cc @Xithrius @SebastiaanZ

  14. Xithrius commented on Feb 25, 2025

    @Xithrius
    Contributor

    Sure! I've assigned y'all.

  15. Strengthless commented on Feb 26, 2025

    @Strengthless

    Some exciting sneak peeks 😄:
    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: backendRelated to internal functionality and utilitiescategory: funRelated to fun and gamesstatus: approvedThe issue has received a core developer's approvaltype: featureRelating to the functionality of the application.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions