Discover the power of object-oriented programming in the widely used programming language, C#.
Overview
Syllabus
Introduction
- Programming an object-oriented text adventure game
- What you should know
- Setting up .NET 6
- Classes
- Extending a class
- Scope
- Singleton
- Partial classes
- The room
- Room movement
- Actions
- Execute action
- Go action
- Action loop
- Creating rooms
- Calculating neighbors
- Overriding methods
- Joining words
- Decorating rooms
- Items
- Inventory
- Using items
- Interfaces
- Creating a backpack
- Creating a chest
- Creating a key and gold
- Populating items
- Take action
- Use action
- Continuing with C#
Taught by
Anton Delsink