Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/DogLooksGood/holdem

A Lightweight Texas Hold'em Poker Game
https://github.com/DogLooksGood/holdem

game holdem-poker

Last synced: about 2 months ago
JSON representation

A Lightweight Texas Hold'em Poker Game

Awesome Lists containing this project

README

        

# Holdem

![screencast](https://user-images.githubusercontent.com/11796018/129900764-999487ac-a8aa-4949-890b-afc5a0c3402c.png "Screencast")
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.