Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
C for Game Dev - Part 1
·
Module 11
Capstone Part 1: Game Architecture
1
Text Adventure Data Structures
Design the core data structures for a text-based adventure game (e.g., player, rooms, items).
2
Setting Up Your Capstone Project: Files and Makefile
Create the file structure for the capstone project (main.c, game.c, player.h, etc.) and a corresponding Makefile.
3
Implementing the Game Loop
Implement the main game loop that processes user input and calls command handlers.
4
Building Game Worlds: Data Structures
Implement data structures for the game world, such as a linked list of rooms or items.
5
Implementing Player Movement Functions
Write functions to manage player movement between different locations in the game world.
6
Creating a Command Handler for Player and Room Information
Implement a command handler for displaying player status, inventory, and room descriptions.
Previous module
File I/O & Game State Persistence
Next module
Capstone Part 2: Logic & Persistence