Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gocs/birpc
go game dev networking poc
https://github.com/gocs/birpc
game-development go golang grpc
Last synced: about 1 month ago
JSON representation
go game dev networking poc
- Host: GitHub
- URL: https://github.com/gocs/birpc
- Owner: gocs
- License: apache-2.0
- Created: 2019-09-27T17:59:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-28T13:23:51.000Z (about 1 year ago)
- Last Synced: 2024-10-20T10:57:03.572Z (2 months ago)
- Topics: game-development, go, golang, grpc
- Language: Go
- Homepage:
- Size: 118 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# birpc
[![Go Report Card](https://goreportcard.com/badge/github.com/gocs/birpc)](https://goreportcard.com/report/github.com/gocs/birpc)
[![Go 1.12](https://img.shields.io/badge/go-1.12-7cf.svg)](https://golang.org/dl/)
[![Build Status](https://travis-ci.org/gocs/birpc.svg?branch=master)](https://travis-ci.org/gocs/birpc)## goal
simple grpc golang game development in ebiten\
lol just capturing cursor## pre-requisite
`go >1.12`
`protoc` from [protocolbuffers/protobuf releases binary](https://github.com/protocolbuffers/protobuf/releases)
save it to `$GOPATH/bin` in mac or `%GOPATH%\bin` in windows
## running
```
protoc --proto_path=src/proto --go_out=plugins=grpc:src/proto mouse.proto
```
```
go get
go run ./src/server/server.go
```
another terminal
```
go run ./src/client/client.go
```## status
needs more knowledge about game design
needs more knowledge about concurrency in go
barely sync\
esp. client receiveneeds update of collision
## LICENSE
apache 2.0