Categorygithub.com/plyr4/go-ebiten-multiplayer
module
0.0.0-20240412165501-59f6298c6891
Repository: https://github.com/plyr4/go-ebiten-multiplayer.git
Documentation: pkg.go.dev

# README

go-ebiten-multiplayer

A small game multiplayer made with Go, ebitengine and websockets.

Play

Web and linux demos are coming soon! For now, you need to compile and run the code locally to play.

Development

How to run and debug the game from source.

Prerequisites

At a minimum: make, Docker, docker-buildx.

For local dev: Go, ebitengine (make sure the environment test passes).

Run via Docker

Run via Go

  • Run directly via Go.

    # run server in the background
    make srv &
    # run the client
    make clt
    
  • Disable multiplayer by using make clt-local or by setting CLIENT_MULTIPLAYER to false.

    make clt-local
    # or
    export CLIENT_MULTIPLAYER=false
    make clt
    

Troubleshooting

  • Ports stuck after running and killing the server? Run make kill-srv then try again.

TODOs

  • secure client uuids
  • websocket security
  • sprite animations
  • dynamic animations
  • server self-cleanup
  • multiplayer lobbies
  • ui
  • player customization

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author