Skip to content

kettek/ebitengine-networking-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a very simple server + client networking example using TCP and the gob encoder. It is kept as minimal as possible in terms of abstract data structures.

After building, the host must start the server via:

./ebitengine-networking-sample host 127.0.0.1:9999

After which, the client can connect via:

./ebitengine-networking-sample join 127.0.0.1:9999

Once connected, each "player"'s ebiten can be controlled with the arrow keys.

This is not intended as an instructional for how to organize networking code and logic, but rather a barebones example of how to actually get basic communication working.

About

Simple TCP server+client networking example for ebitengine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages