Pong (C++ 2/5)

From the basics to the famous game: Pong

C++

5 Steps

Beginner

We start? Start
1

hello, world

Your very, very first program

  • How to compile and run a program
  • Basic program structure and syntax
  • Print text on screen
  • Change text style

2

Tally counter

A small game to count things, from guests to sheeps!

  • What is a variable
  • "If" conditions
  • How to use buttons
  • Draw rectangles

3

Bouncing ball

Make your game move on its own with a ball bouncing on the screen edges

  • "If else" conditions
  • Use variables to create movement
  • Check for collisions
  • Make it bounce!

4

Pong

The famous game where you hit on the ball with a paddle

  • Advanced collision
  • Practice all you just learnt

5

Artificial Intelligence

Playing against humans is cool, but adding an AI is much cooler

  • Simple artificial intelligence
  • Add Randomness