A simple two player game, written in Go, using Ebitengine a dead simple 2D game library for Go.
Intention to write this was to get an overview, before implementing in Jack here.
So to play, it requires two players, left player and right player. For left player pressing w
will move left block up, pressing s
down.
For right player pressing up arrow key ↑
will go up, pressing down arrow key ↓
down
make sure you have installed
- Go (i used 1.18.3)
- ebitengine
Run the following commands
git clone https://github.com/ishwar00/simple-ping-pong-game.git
cd simple-ping-pong-game/src
go run main.go
- make it multiplayer game (Client-Server Architecture)