Object-oriented Programming in Python: Create Your Own Adventure Game
CO210 Online course
Learn object-oriented programming principles by creating your own text-based adventure game in Python.
Skip to course bookingObject-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.
Topics 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.
Outcomes
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
This course is part of the Subject knowledge certificate
Subject knowledge certificate
Our professional development programme, Computer Science Accelerator, is designed to help you develop or refresh your subject knowledge and leads to a nationally recognised certificate.
Join this course
You need to be logged in to join the course.
Not got a STEM Learning account?
Create an account
Adapted teaching and effective learning interventions in secondary computing
Develop an evidence-informed approach to education recovery over a sustained period, securing the computing education of young people following a period of great disruption.
Adapting the Teach Computing Curriculum for mixed-year classes
Explore progression within Teach Computing Curriculum and how to use this to adapt it for your own mixed-age setting.
An Introduction to algorithms, programming and data in computer science - remote
Create some simple block-based computer programs and discover how to implement them in the text based language Python.