Skip to content
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
@OlivierSohn

Description

@OlivierSohn

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions