Skip to content

An implementation of the card game hearts, allowing remote play over the web

License

Notifications You must be signed in to change notification settings

emdash-ie/hearts

Repository files navigation

Hearts

A server for playing games of Hearts, which allows multiplayer play over the web. It is in fairly early stages, and there is no hosted instance of the server available.

Building / running

I typically build this using nix and/or cabal.

I first run cabal2nix to generate a nix file from the project’s cabal file:

cabal2nix . > hearts.nix

What I do next depends on whether I’m building the program during development, or for deployment.

If during development, I enter a nix shell and use the cabal that that provides to run the program:

nix-shell

[nix-shell]$ cabal run hearts-exe

If deploying, I use nix-build:

nix-build release.nix

This command eventually prints out the path to the resulting binary, which I can invoke directly.

About

An implementation of the card game hearts, allowing remote play over the web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages