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

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心