Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Adventures In C# Programming
Rating: 4.6 out of 5(88 ratings)
816 students

Adventures In C# Programming

Learn C# by programming a text-adventure game
Last updated 1/2024
English

What you'll learn

  • Program a text adventure game
  • Learn Object Oriented programming in C#
  • Build a complex project from multiple code files
  • Understand classes, objects and serialization

Course content

2 sections47 lectures2h 28m total length
  • Welcome to the course1:20

    Learn by writing a text adventure

  • Read This First0:04
  • Visual Studio 20190:05

    If you are a Visual Studio 2019 user, be sure to download and read this document before creating a project.

  • Code Archive (to download)0:15
  • Who is this course for?2:10

    Let’s consider who this course is best suited for.

  • What I assume you know before starting the course1:00

    Be sure you are ready…

  • How to study the course2:54

    How should you study this course? I

  • A short history of adventure games3:15

    Get to know the classics – then write your own!

  • Rooms – the fundamental objects of a game1:20

    A Room is an object. So right away I need to do some object oriented programming.

  • Creating a Room6:33

    Class Definition

  • Creating Multiple Rooms3:56

    Object creation

  • Creating a Map3:50

    Arrays

  • Moving around the game5:46

    Scope

  • Group related classes4:04

    Namespaces

  • Add accessor methods4:27

    Encapsulation

  • Create an Actor class2:55

    Inheritance   

  • Initializing the Player and Rooms2:51

    Constructors   

  • Moving the player3:28

    Properties   

  • A Better Map2:02

    Dictionaries   

  • A Custom RoomList Class1:51

    Subclassing Dictionaries

  • Creating Unique Room Identifiers1:53

    Enums

  • Moving to a Named Room3:46

    Keys and Values

  • Initializing the adventure2:37

    Modular code organization

  • Simplifying Map Construction2:23

    Adding new objects to a Dictionary

  • Moving Actor objects5:23

    Restructuring code

Requirements

  • Visual Studio (either the free Community edition or a commercial edition).
  • Some basic programming knowledge

Description

Adventures in C# Programming is a programming course like no other! It teaches the features of the C# language by guiding you step-by-step through the development of an exploring-style game.

You will learn to…

  • Write a retro-style adventure game like ‘Zork’ or ‘Colossal Cave’

  • Master object orientation by creating hierarchies of treasure objects

  • Create rooms and maps using .NET collections, arrays and Dictionaries

  • Create objects with overloaded and overridden methods

  • Serialize networks of data to save and restore games

  • Write modular code using classes, partial classes and subclasses

  • Program user interaction with a ‘natural language’ interface

  • Plus: encapsulation, inheritance, constructors, enums, properties, hidden methods and much more…

If you are a beginner programmer and already studying another C# course, this will give you hands-on experience of writing a big and complex project.

If you are an experienced programmer, this will give you a quick way into the twisty little corners of the C# language.

If you are a retro-games fanatic, learn how to write games just like the Infocom classics of the 1980s!

In this course you will learn to write C# your own retro text-adventure game using either the free Visual Studio Community Edition or a commercial edition of Microsoft Visual Studio. All the source code of sample projects is provided ready for you to download, run and modify.

The course instructor, Huw Collingbourne, is the author of the cult adventure game, The Golden Wombat Of Destiny. A long-established programming teacher online, he is also a well-known programming columnist in the UK and is the author of The Book Of Ruby.

Adventures in C# Programming is the ultimate fun way to learn the C# language. So, come on in and let’s begin the adventure!

Who this course is for:

  • Beginners who have (or are) already studying an elementary C# course
  • Intermediate programmers ready to dive in to learn C# in depth
  • Anyone interested in how to create a classic-style text adventure