Skip to content
/ go-pong Public

A Pong clone made from scratch with Go and C using OpenGL 3.3

License

Notifications You must be signed in to change notification settings

Red1C3/go-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-Pong

A Pong video game clone made with Go lang and OpenGL 3.3 using C.

Gameplay

gameplay

Check dependencies

Offline

Key bindings are 'w' and 's' for the left player and 'up arrow' and 'down arrow' for the right player, score is kept in terminal (for now...)

Multiplayer

go-pong supports multiplayer by hosting a game and joining it, hosting can be performed by running ./go-pong -h <port> , and connecting to that host can be performed by running ./go-pong <ip:address:port> , control your player with up and down arrows.

Deployment

if you faced a problem when deploying go-pong server, remove import "C" and all the generated error from that action, build it, and run it on servers only (since offline and clients mode won't work without the C renderer)

Building

After installing the required dependencies, run go build, make sure your executable is in the same folder than contains the Shader and Textures folders.

Dependencies:

Contributions

Are welcome !

License

Under MIT, check License

Created with fuzzy kittens, with the help of Red1C3