C#beginnercliAI generated

Text Adventure Game Engine (JSON Rooms)

A console-based text adventure engine that loads room definitions, items, and exits from JSON files, letting non-programmers author new adventures without touching code. Learners practice JSON deserialization with System.Text.Json, object modeling, and building a simple parser/command loop.

Estimate
~8.5h
Steps
5
Completed by
0
Proposed by
codeseed.app

System.Text.Json

Project roadmap

  1. 01

    Design the JSON room schema

    ~1.5h

    Define a JSON structure for rooms with descriptions, exits, and items.

  2. 02

    Deserialize rooms into C# objects

    ~1.5h

    Use System.Text.Json to load the room file into a dictionary of Room objects keyed by room ID.

  3. 03

    Implement the command parser

    ~2h

    Parse simple verb-noun commands (go north, take key, look) and map them to game actions.

  4. 04

    Implement inventory and item interactions

    ~2h

    Let the player pick up items, view inventory, and use items to unlock exits or solve puzzles.

  5. 05

    Author a sample adventure

    ~1.5h

    Write a small multi-room JSON adventure demonstrating the engine's features end to end.

Resources

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~8.5h · 5 steps

Tech stack

System.Text.Json