Skip to content
/ pong Public

Traditional pong with three mode: PVP local, PVP remote and player versus computer.

License

Notifications You must be signed in to change notification settings

eguefif/pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong

Pong game with three game modes: local, remote and computer. Games are played in 5 rounds.

Description

Upong launch, the user is shown a menu with three modes.

  • Local: two player can play. Player 1 uses: Q(up) and A(down). Player 2 uses arrows up and down.
  • Remote: After typing his name, player wait for the server to match him with another player. After typing space, the game start.
  • Computer: player play with arrows again the computer AI.

Getting Started

Dependencies

  • g++
  • Linux
  • make
  • SDL2
  • SDL2_image
  • SDL2_ttf

Installing

  • Clone the repo
  • type: apt-get install libsdl2 libsdl2-dev libsdl2-image libsdl2-image-dev libsdl2-ttf-dev
  • make

Executing program

  • in the main dir: ./pong

Authors

Emmanuel Guefif

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Version

0.1: Working version with a few bugs (remote game pause and winner screen flickering)

About

Traditional pong with three mode: PVP local, PVP remote and player versus computer.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published