Object-oriented Programming in Python: Create Your Own Adventure Game CO210

Learn object-oriented programming principles by creating your own text-based adventure game in Python.


Object-oriented programming is a programming paradigm based on objects and data rather than actions and logic. 

This online course will introduce you to the principles of object-oriented programming in Python, showing you how to create objects, functions, methods, and classes. 

You’ll use what you learn to create your own text-based adventure game. You will have the chance to share your code with other learners, and see theirs. 

If you’re an educator, you’ll also be able to develop ideas for using object-oriented programming in your classroom.

Who is it for?

This course is designed for people who are already familiar with Python programming and want to learn a different programming paradigm, understand and use existing libraries more effectively, or create code which is useful to other people. We recommend that before taking this course you are comfortable using functions with parameters and return values–as covered in our Python Programming 102 course.

What topics are covered?

You'll cover the following topics:

  • how to write a program using an object

  • create your object-oriented text-based adventure game

  • extend classes to increase functionality 

  • class variables vs instance variables

How will you learn?

This online, self-paced course can be completed flexibly. You can join and start this course at any time after the advertised date. This course is not facilitated. You can learn independently or with colleagues to directly address your individual needs.


You will be able to:

  • Investigate how to use objects in programming, and understand the difference between a function and an object         
  • Develop your understanding of how writing your own class allows you to combine functions and data         
  • Demonstrate extending other people’s classes, including inheritance and polymorphism         
  • Produce a module to apply your learning of object oriented programming         
  • Collaborate by sharing your code with other people


Scheduled courses

Interested in this course?

Sign up to receive our emails to hear about the latest CPD available


Share this