For my family <3
Euchre is a card game. It is our "family game", frequently played at family reunions due to its ability to both engage players and be a game you can sit back and chat over without thinking too much.
With the COVID-19 social-distancing, we're suddenly unable to play, so we started to look at options to play online.
Disappointed with the state of the online options, we decided to make our own.
The production version is playable now at euchre.live, but the code is all free under the MIT license, so feel free to hack it or host your own!
p5-Class-Tiny packages are sufficient to run the server!
$ npm i
$ cpanm --installdeps .
On OpenBSD (6.9):
$ doas pkg_add node p5-Mojolicious p5-Class-Tiny
$ npm i
The release version is a subset of the repo, built into a separate directory for easier deployment.
$ ./build/gloat.pl daemon
To actually daemonize (in a production environment), run with
This will log to /var/log/gloat, which should exist and be writable to the
$ ./build/gloat.pl daemon -m production
For fast iteration on the code, we have a
npm script to watch the JS files with
esbuild and rebuild the bundle on the fly:
$ ./gloat.pl daemon # fire up backend first
$ npm run dev