Contact FutureLearn for Support
Skip main navigation
We use cookies to give you a better experience, if that’s ok you can close this message and carry on browsing. For more info read our cookies policy.
We use cookies to give you a better experience. Carry on browsing if you're happy with this, or read our cookies policy for more information.
Online course

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.

What’s the difference between a free course and an upgraded course?

Free:

  • Access to the course for its duration + 14 days, regardless of when you join (this includes access to articles, videos, peer review steps, quizzes)
  • No certificate

Upgraded:

  • Unlimited access to the course, for as long as it exists on FutureLearn (this includes access to articles, videos, peer review steps, quizzes)
  • A Certificate of Achievement when you complete the course

Find out more

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

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 3, showing you how to build on your existing basic Python knowledge 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 4 secondsOn this course, we will take your programming to the next level by learning object-oriented principles through creating a text-based adventure game. This course is aimed at educators with some programming experience, but who have never programmed in the object-oriented style. I'm Laura Sach, Content and Curriculum Manager at the Raspberry Pi Foundation, and I am your lead educator for this course. I belong to the education team, where I write lots of the projects you can find on the Raspberry Pi website. This course is structured to take you through four weeks of learning about object-oriented programming. In week 1, we will start our object-oriented programming journey creating a turtle race and making patterns with shapes using classes that were already written for us.

Skip to 0 minutes and 48 secondsw In week 2, you will learn how to write your own classes in order to create your own customised objects. In week 3, we will extend the class, and in week four, we will complete the code field game and share it. I hope this will make it a fun and purposeful learning experience for you to learn object-oriented programming. I can't wait to see what you create.

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?

  • Date to be announced

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 already have some basic Python programming knowledge and want to learn a different programming paradigm, understand and use existing libraries more effectively, or create code which is useful to other people.

You are very welcome to join us if you have no prior experience of Python, but please be aware that use of the following basic concepts will be expected without being covered in this course:

  • Using IDLE to run a Python program
  • Print, input, variables, selection (if/else), loops (while/for), functions

The course will be particularly useful for A level educators and students.

What software or tools do you need?

Python 3 or Trinket.

Who will you learn with?

Laura Sach

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

Who developed the course?

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.

What’s the difference between a free course and an upgraded course?

Free:

  • Access to the course for its duration + 14 days, regardless of when you join (this includes access to articles, videos, peer review steps, quizzes)
  • No certificate

Upgraded:

  • Unlimited access to the course, for as long as it exists on FutureLearn (this includes access to articles, videos, peer review steps, quizzes)
  • A Certificate of Achievement when you complete the course

Find out more

Get extra benefits, upgrade this course. For $44 you'll get:

Unlimited access

Upgrading will mean you get unlimited access to the course.

Image access mobile

  • Take the course at your own pace
  • Refer to the material at any point in future

If you’re taking a course for free you have access to the course for its duration + 14 days, regardless of when you join. If you upgrade the course you have access for as long as the course exists on FutureLearn.

Certificate of Achievement

Upgrading means you’ll receive a Certificate of Achievement when you complete the course.

Image certificate mobile

  • Prove your success when applying for jobs or courses
  • Celebrate your hard work
  • Display on your LinkedIn or CV
  • Includes free shipping

To receive a Certificate of Achievement you need to mark 90% of the steps on the course as complete.

Upgrade


Still want to know more? Check out our FAQs