Is cursor capable of doing a single player Text Rpg, Text clicker game? for someone with no code experience?

I have no experience in coding, nor do i know what sort of files i would need to create or anything like that. I would be telling it what i want done e.g “make a menu here, where clicking x will lead to menu y” or “make a weapon that does x effect when it hits an enemy” resistances, values/etc.

or should i wait a year or 2 for o3 to be implemented because cursor would have trouble doing it?

You want to create a game?

Yes. for myself, i wanted to make a MUD or just a turn based Text rpg game for myself to play, where i can add content and such. Rpg maker is fine and all but the assets are to pricey once it stacks up. so i prefer to just go with text stuff.

if you want to create text game then i recommend you to use python or nodejs or if you want to create web game then use html css js

is cursor capable of helping and doing all the heavy lifting with python or html?

it supports all

I think you’ll be able to do it, as text games are quite straightforward. :slight_smile: I would however advise that you try to “slowly pick up an understanding of what it’s doing”. It’ll be fine if you don’t understand the vast majority, especially in the beginning - that’s fine, but try to pick up a little bit at a time, and occasionally ask questions to understand what it’s doing.

1 Like

Also it’s work checking out the awesome Useful Resources for Learning Cursor post which has a ton of YouTube tutorials. Many of these are great for understanding how your first project will feel, and for steering you in the right direction!

I think it would have no problem at all.
Just i would plan out the game first (using some AI if you want).
Break down all your features and describe everything in the most detail.
Include how you want to be able to modify or change it. Maybe you want a tool or something for it (describe that in detail as well)
Ask it to create a modular structure. Create a set of documents (which can be broken into parts by AI again). Each should try to be less than 1000 lines, less is better.
Then also make a task list based off this
These docs should be in markdown (.md), ask the ai to do it. The documents should have links to each other where relavant
Upload into cursor.
Then create a prompt referencing your overview document and other docs. And ask it to tick the task list when it completes something.

Also ask the ai to come up with the tech stack etc based off your needs. That will be part of the overview doc or tech specs attached to it.

Boom! Eventually. You have a game :smiley:

Edit:
Comment below is a much better answer :slight_smile:

@https://www.makeuseof.com/how-to-use-chatgpt-as-an-interactive-rpg/

@How to Build Your Own ChatRPG with the ChatGPT API | by shawnBuilds | Medium


The best thing to do, is to open a new folder in Cursor and name it “ScratchPad” and the hit CTRL+i and start typing whatever questiosn you want…

Then when you like the direction its taking, have the agetn build out a new folder struct for you project… and ask it to guide you through setting things up properly.

Literally talk to the bot like some of these examples - you can see I simply talk to it as if I am sitting there with my dev, and I am looking at their screen and I point and say: “Now do this, give methat, format it thus, save it here, lookup that…”



=======

Its great to just be able to talk to it. You’ll learn about YOLO which is to tell the agent to just "create the files, run it and fix it when it spits an error.

Based on the forum discussion and related articles, I’ll provide guidance for creating a text-based RPG using Cursor. Here’s a structured approach:

Getting Started with Your Text RPG

  1. Choose Your Technology Stack

    • For beginners, Python is recommended due to its readable syntax and extensive game development libraries
    • Alternatively, you could use HTML/CSS/JavaScript for a web-based version
  2. Project Structure Recommendation

text_rpg/
├── main.py
├── game/
│   ├── __init__.py
│   ├── player.py
│   ├── items.py
│   ├── combat.py
│   └── world.py
├── data/
│   ├── weapons.json
│   ├── enemies.json
│   └── locations.json
└── README.md
  1. Start Simple - Here’s a Basic Example
class Player:
    def __init__(self, name):
        self.name = name
        self.health = 100
        self.inventory = []

class Game:
    def __init__(self):
        self.player = None
        
    def start_game(self):
        print("Welcome to Text RPG!")
        player_name = input("Enter your name: ")
        self.player = Player(player_name)
        self.main_menu()
    
    def main_menu(self):
        while True:
            print("\n1. Explore")
            print("2. Check Inventory")
            print("3. Quit")
            choice = input("What would you like to do? ")
            # ... menu logic here ...

if __name__ == "__main__":
    game = Game()
    game.start_game()

Development Tips with Cursor

  1. Use Cursor’s AI Assistance

    • Start by describing features in plain English
    • Example: “Add a combat system where players can fight monsters using weapons from their inventory”
    • Cursor can help generate the code structure and implementation
  2. Incremental Development

    • Begin with core mechanics (movement, basic commands)
    • Add features one at a time (inventory system, combat, saving/loading)
    • Test each feature before moving to the next
  3. Data-Driven Design

    • Store game content (items, enemies, locations) in JSON files
    • Makes it easier to add/modify content without changing code

Example Feature Request to Cursor

Try asking Cursor something like:

"Create a combat system for my text RPG that:
- Allows turn-based combat
- Includes different weapon types
- Has enemy AI with basic decision making
- Tracks player health and enemy health"

Tips for Success

  1. Plan your game features before coding
  2. Break down complex features into smaller tasks
  3. Use version control (Git) to track changes
  4. Document your code as you go
  5. Test frequently

Cursor can help with implementation details, but understanding the basic structure will make development easier.

===

EDIT:

Just to add a tip: as this would be one of your first little creations that youre learning to build with Agent… recommend you direct it to keep a verbose development_diary tracking your progress, and literally ask it for a ‘daily status report’ after each session where it will diary out the development path, decisions… its internal template for such docs is pretty darn good, but you can tell it more specifically things you want…

2 Likes