https://github.com/DogLooksGood/holdem
A Lightweight Texas Hold'em Poker Game
https://github.com/DogLooksGood/holdem
game holdem-poker
Last synced: 11 months ago
JSON representation
A Lightweight Texas Hold'em Poker Game
- Host: GitHub
- URL: https://github.com/DogLooksGood/holdem
- Owner: DogLooksGood
- License: unlicense
- Archived: true
- Created: 2021-06-09T15:15:30.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-29T14:18:12.000Z (over 4 years ago)
- Last Synced: 2024-08-05T20:29:56.941Z (almost 2 years ago)
- Topics: game, holdem-poker
- Language: Clojure
- Homepage: https://holdem.fun/
- Size: 245 KB
- Stars: 102
- Watchers: 8
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Holdem

A lightweight Texas Hold'em Poker game, WIP.
## Install requirements
```sh
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.