An open API service indexing awesome lists of open source software.

https://github.com/danr/multiplayersnake

Snake game in Haskell, multiplayer over network
https://github.com/danr/multiplayersnake

Last synced: 12 months ago
JSON representation

Snake game in Haskell, multiplayer over network

Awesome Lists containing this project

README

          

Depends on

OpenGL
QuickCheck
bytestring
binary
MonadRandom
SDL
SDL-ttf
network (install network-2.3)
mtl

that is:
cabal install OpenGL QuickCheck bytestring binary MonadRandom SDL SDL-ttf network-2.3 mtl

Compile with

ghc --make SnakeServer.hs -O2
ghc --make SnakeClient.hs -O2

Run with

./SnakeServer port
./SnakeClient addr port name

example:

./SnakeServer 4000
./SnakeClient localhost 4000 valdemar