This repository was archived by the owner on Jun 21, 2021. It is now read-only.
This repository was archived by the owner on Jun 21, 2021. It is now read-only.
Best practices for using cloud-haskell in an online multiplayer game? #19
Closed
Description
Hello,
I'm looking for advice on how to turn my single-player local game into an online multiplayer cooperative game, using cloud-haskell for networking:
In this game, each player controls a ship, and can fire a laser from that ship.
So Client
nodes will send player events to the server
node, and the server
will periodically send game updates to the clients
.
Are there some real-world examples, or tutorials that I could look at for inspiration?
My thinking sofar is to do something like in ChatClient.hs ChatServer.hs to "connect" the client to the server, and then use typed channels to transfer player events and game updates between them. In case I am missing an important aspect, please tell me!
Thank you :)
Metadata
Metadata
Assignees
Labels
No labels