Building simple Pong Game using C++

提供方
Coursera Project Network
在此指导项目中,您将:

Develop Your Skill in Object Oriented Programming (OOP)

Be able to implement simple Pong Game and Play it with a friend

Clock2 hours
Intermediate中级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

By the end of this project, you will create a simple functioning pong game using C++. In this project, you will be able to define class ball and paddle. Also, you will be able to draw the game map. Moreover, you will be able to create a game manager class which has the implementation function to move the paddle using the keyboard and another function to do the logic of the game and the direction of the ball when hitting either the ball or the paddle. In this project we’ll use codeblocks IDE which is an open source IDE and it’s very simple to write our code in , which will help us implement all the needed functions and classes that is necessary to build our game Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培养的技能

  • Software Games
  • Software Testing
  • Classes and objects
  • Object-Oriented Programming (OOP)
  • C++

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. Implementing Ball Class

  2. Implementing Paddle Class

  3. Initializing the game manager

  4. Implementing the draw function

  5. Testing the draw function and Implementing the input function

  6. Finalize the game manager and Test the Game

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心