Simple standalone app of airhockey fully implemented in go and gRPC using ebiten
- Go 1.16 or newer
- protobuf 3
- github.com/envoyproxy/protoc-gen-validate
-
In the root folder run
go mod tidy
-
Windows
- Run
.\generate.bat
- Start the server
- Run
-
Linux/MacOs
- Rename the file
generate.bat
togenerate.sh
- Run
sh generate.sh
- Rename the file
-
Run
server(.exe)
andclient(.exe)
-
Enjoy!
- On the client press
F6
to show the collisions and enable logging
The prototype is provided with a very rudimentary collision system. It allows the disk to be pushed around, collide with the players and the walls