Tag: OOP

Stopwatch Class (JavaScript)

stopwatch-class

In this challenge we will create an interactive stopwatch using HTML, CSS and JavaScript. The aim of this blog post is to use Object Oriented Programming to create our own Stopwatch class. Step 1: Stopwatch Class and its constructor First

Poker Card Game (JavaScript)

playing-cards

In this challenge we will create a one-player game of poker based on the rules of Texas Hold’em Poker. In a game of Texas Hold’em Poker, for each round, five “community cards” are dealt face-up on the “board”. Each player

Object-Oriented Programming – Crossword

crossword

Are you confident with your knowledge of key Object-Oriented Programming concepts: Classes & Objects, Inheritance, Encapsulation, Polymorphism and Abstract Classes? You can find our more about OOP concepts on the following page.

Object-Oriented Programming – Terminology

OOP-Dominoes

Click on the picture below to check your knowledge of key Object-Oriented Programming concepts: Classes & Objects, Inheritance, Encapsulation, Polymorphism and Abstract Classes.  

Object-Oriented Programming – Quiz

quiz-definitions

Before taking this quiz, make sure you are confident with your understanding of key Object-Oriented Programming concepts. Take the Quiz! (open full screen) List of Keywords If you are stuck and need a clue, you can reveal below the list

Object-Oriented Programming Concepts

OOP Concepts

Object-Oriented Programming (OOP) is a programming approach based on objects and classes. The object-oriented paradigm allows us to organise software as a collection of objects that consist of both data/attributes and behaviours. This programming concept appeared in the 1980s and

Pygame Tutorial – Adding More Sprites

Collision Detection between Sprites (PyGame)

This tutorial is the fourth tutorial in a series of five Pygame tutorials: Tutorial 1 – Getting Started with Pygame Tutorial 2 – Creating Sprites using Pygame Tutorial 3 – How to control your sprites Tutorial 4 – Adding More

UML Diagrams

UML-Diagrams

By completing the following activities you will learn about the different types of UML diagrams used to design OOP projects (Object Oriented Programming). You will learn how to draw: Use Case Diagrams, Class Diagrams, Object Diagrams, Communication Diagrams, Sequence Diagrams,

Pygame: How to control your sprite?

Controlling a Sprite in Pygame using the arrow keys

This tutorial is the third tutorial in a series of five Pygame tutorials: Tutorial 1 – Getting Started with Pygame Tutorial 2 – Creating Sprites using Pygame Tutorial 3 – How to control your sprites Tutorial 4 – Adding More

Creating Sprites using Pygame

This tutorial is the second tutorial in a series of five Pygame tutorials: Tutorial 1 – Getting Started with Pygame Tutorial 2 – Creating Sprites using Pygame Tutorial 3 – How to control your sprites Tutorial 4 – Adding More