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, and keep access for a year after booking. You can learn independently or with colleagues to directly address your individual needs.
This course will be periodically facilitated by expert Professional Development Leaders.
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 KS3 and GCSE Computer Science subject knowledge certificate
Key stage 3 and GCSE Computer Science certificate
Our certificate is designed to help you develop or refresh your computer science subject knowledge.
Join this course
You need to be logged in to join the course.
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 - short course
Explore progression within Teach Computing Curriculum and how to use this to adapt it for your own mixed-age setting.
AI and Ethics in GCSE computer science
Artificial intelligence, what is it? How does it work? What are the ethical considerations for GCSE students. How could you teach it to your students?