DogLooksGood / holdem

A Lightweight Texas Hold'em Poker Game

Home Page:https://holdem.fun/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Holdem

screencast A lightweight Texas Hold'em Poker game, WIP.

Install requirements

clojure -P
npm i

Development

Start Clojure/Script REPL via cider-jack-in-clj&cljs in Emacs.

Start backend system by type (start) in Clojure REPL.

WEB services will be available at http://localhost:4000.

Workspace cards will be available at http://localhost:8000/workspaces.html.

Shadow CLJS UI is http://localhost:9630.

Release

  • make cljs-release will compile ClojureScript
  • make release will compile Clojure and generate uberjar
make

Uberjar will be generated at target/holdem.jar, run with:

make run

or

java -jar target/holdem.jar

Open http://localhost:4000 in your browser.

Testing

Backend

Run backend tests with kaocha. The configuartion is tests.edn.

make kaocha

Frontend

Run frontend tests with karma.

make karma

License

This is free and unencumbered software released into the public domain.

About

A Lightweight Texas Hold'em Poker Game

https://holdem.fun/

License:The Unlicense


Languages

Language:Clojure 97.8%Language:CSS 0.9%Language:HTML 0.5%Language:JavaScript 0.4%Language:Dockerfile 0.1%Language:Makefile 0.1%Language:Emacs Lisp 0.1%