Skip to content

pbogre/pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NOTICE: if you are looking to play this, please look at issue #2

Instructions

CMake is required to build this project.

Server

  • cd server
  • mkdir build
  • cd build
  • cmake ..
  • make
  • ./server

Client

  • cd client
  • mkdir build
  • cd build
  • cmake ..
  • make
  • ./client

Config

The configuration file is located in client/src/config.h

  • IP is a string representing the IP to connect to
  • PORT is an int representing the port of the pong server
  • username is a string representing the username you wish to play with

To-Do

  • desync handling and warnings testing
  • if all goes to shit and desync still occurs heavily, maybe just make player 1 dictate ball position
  • score desync handling
  • desync warning system