Skip to content

The Pong game in Go with ebitengine 2D game engine.

License

Notifications You must be signed in to change notification settings

joakim-ribier/pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PONG

The first game Pong was developped by Atari in 1972.

Usage - How to play - Features - License

Usage

Clone the project and work with the source or directly go install.

Git clone

$ git clone https://github.com/joakim-ribier/pong
$ go build -o . ./...

$ ./pong

Go Install

$ go install -v github.com/joakim-ribier/pong/cmd/client@latest

$ ./pong

Binaries

Available only for windows from Releases.

For the others distributions: Is_it_possible_to_cross-compile_an_application_with_Ebitengine

How to play

Singleplayer

# start the game with no option and enjoy it
$ ./pong

Multiplayer

We should have a server which host the game and a client to play with.

The server should start before the client and It's it which handle the whole game.

How to start the server

$ ./pong --server 127.0.0.1:3000

How to start the client

$ ./pong --client 127.0.0.1:3000

Features

Next

...

latest

Create a Pong game with ebitengine 2D engine.

  • Implement a singleplayer mode (Player L VS Player R)
  • Implement a multiplayer mode (Server VS Client) with the [UDP] protocol to exchange messages between the server and the client
  • Add Github workflows to generate binaries

License

This software is licensed under the MIT license, see License for more information.

About

The Pong game in Go with ebitengine 2D game engine.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages