• raspberry pi
  • National Centre for Computing Education logo

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

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

54,999 enrolled on this course

A illustration of various characters and programming concepts from the course

A fun introduction to object-oriented programming 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.

Skip to 0 minutes and 3 seconds What is object-oriented programming? What’s the difference between a function and a method? How can you write your own text-based adventure game using Python? This free course will introduce you to the fundamentals of object-oriented programming. You’ll explore classes, methods, and attributes, and you’ll learn about abstraction, inheritance, and polymorphism. You’ll also take part in practical activities to extend existing classes and create your own programs. This four-week course contains peer-led discussions, trainer interaction, and feedback on your knowledge as you progress. You can learn whenever and wherever you want. So whether you’re a teacher with students of your own or simply curious about Python, this course will help you take your first steps in object-oriented programming. Sign up now at rpf.io/oop.

What topics will you cover?

  • Introduce the principles of object-oriented programming in Python.
  • Understand the difference between a function and an object.
  • Create objects, functions, methods, and classes.
  • Write a text-based adventure game.
  • Extending other people’s classes, including inheritance and polymorphism.
  • Share your code with other learners, and see theirs.
  • Develop ideas for using object-oriented programming in the classroom.

When would you like to start?

Start straight away and join a global classroom of learners. If the course hasn’t started yet you’ll see the future date listed below.

  • Available now

Learning on this course

On every step of the course you can meet other learners, share your ideas and join in with active discussions in the comments.

What will you achieve?

By the end of the course, you‘ll be able to...

  • Explore using 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.

Who is the course 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.

It will be particularly useful for educators and students of a post-16 qualification.

What software or tools do you need?

Python 3

What do people say about this course?

"Best short course I've done. I've learnt programming concepts I've struggled with previously without even trying."

"This was such a simple and informative course, I learnt things that I was previously confused about. I'm not an expert but I am proud to say that I now know so much more than before I started this course."

Who will you learn with?

Laura creates and maintains Raspberry Pi educational resources. Aside from computers, she loves cats, cakes, board games and making jam.

I love technology and creating projects and learning resources for Raspberry Pi. As a child I wanted to be either a computer scientist, astronaut or snowboard instructor.

Who developed the course?

Raspberry Pi Foundation

The Raspberry Pi Foundation works to put the power of digital making into the hands of people all over the world, so they are capable of understanding and shaping our increasingly digital world.

National Centre for Computing Education

This course is part of our professional development teacher programme for the National Centre for Computing Education (NCCE). Our nationally-recognised certificates cater for all levels of teaching.

Funded by the Department for Education and supporting partners, we aim to transform the way computing is taught in schools across England, and enable more young people to benefit from studying this important subject.

Endorsers and supporters

supported by

Google logo
Recommended

Ways to learn

Buy this course

Subscribe to Unlimited

Join with limited access

Choose the best way to learn for you!

$49

One-off payment

$27.99/month

Automatically renews

Free

Unlock your expertiseAccess hundreds of coursesTry this course - with limits
Access to this courseticktickLimited to 4 weeks
Access to ALL eligible coursescrosstickcross
Learn at your own paceticktickcross
Discuss your learning in commentstickticktick
Certificate when you're eligiblePrinted and digitalDigital onlycross
Buy this course

Ways to learn

Subscribe to Unlimited to access this course and hundreds of other short courses or buy just this course for extra benefits. Or, join with limited access.

Subscribe to Unlimited

$27.99/month

Automatically renews

Access hundreds of courses

  • Access to this course
  • Access to ALL eligible short courses
  • Learn at your own pace
  • Discuss your learning in comments
  • Digital certificate when you're eligible

Buy this course

$49

One-off payment

Unlock your expertise

  • Access to this course
  • Learn at your own pace
  • Discuss your learning in comments
  • Printed and digital certificate when you’re eligible

Join with limited access

Free

Try before you buy

  • Limited access to course content for 4 weeks

Find out more about certificates, Unlimited or buying a course (Upgrades)

Learning on FutureLearn

Your learning, your rules

  • Courses are split into weeks, activities, and steps to help you keep track of your learning
  • Learn through a mix of bite-sized videos, long- and short-form articles, audio, and practical activities
  • Stay motivated by using the Progress page to keep track of your step completion and assessment scores

Join a global classroom

  • Experience the power of social learning, and get inspired by an international network of learners
  • Share ideas with your peers and course educators on every step of the course
  • Join the conversation by reading, @ing, liking, bookmarking, and replying to comments from others

Map your progress

  • As you work through the course, use notifications and the Progress page to guide your learning
  • Whenever you’re ready, mark each step as complete, you’re in control
  • Complete 90% of course steps and all of the assessments to earn your certificate

Want to know more about learning on FutureLearn? Using FutureLearn

Learner reviews

Learner reviews cannot be loaded due to your cookie settings. Please and refresh the page to view this content.

Do you know someone who'd love this course? Tell them about it...

You can use the hashtag #RPiLearn to talk about this course on social media.