GithubHelp home page GithubHelp logo

pong_game's Introduction

Pong_Game

I wrote this project for the C++ exam at IT STEP University.

image

Pong is one of the early arcade video games. This is a tennis sports game using simple 2D graphics.

photo_2022-09-13_15-15-55

A small square that replaces a ping-pong ball moves along the screen along a linear path. If it hits the perimeter of the playing field, then its trajectory changes depending on the angle of impact. If the ball is beaten off by the player's racket, then its movement additionally depends on the speed and direction of the racket. Racket control in Pong is carried out using a paddle controller that controls by turning the handle around its axis. The perimeter of the playing field is indicated by the edges of the screen, and the ball cannot leave the field through the top or bottom edge. In the upper part of the field, the scores of the players are displayed, each on their own half of the screen.

The gameplay consists of players moving their rackets vertically to protect their goal. At the beginning of each round, the ball is served to one of the players, and the round continues until one of the players scores a point. This happens when his opponent cannot return the ball.

pong_game's People

Contributors

maxbabichevskiy avatar

Stargazers

 avatar Pavel Korolenko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.