https://github.com/furiel/gomoku
gomoku written in clojure and clojurescript
https://github.com/furiel/gomoku
Last synced: 2 months ago
JSON representation
gomoku written in clojure and clojurescript
- Host: GitHub
- URL: https://github.com/furiel/gomoku
- Owner: furiel
- License: mit
- Created: 2020-04-08T20:34:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T08:10:55.000Z (about 5 years ago)
- Last Synced: 2025-01-21T06:28:43.977Z (4 months ago)
- Language: Clojure
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# gomoku
## Compile
Create a standalone jar `target/uberjar/gomoku-0.1.0-SNAPSHOT-standalone.jar`:
```sh
lein uberjar
```## Deploy
```sh
java -jar target/uberjar/gomoku-0.1.0-SNAPSHOT-standalone.jar
```You can add TLS for example with `nginx`. To use nginx as a websocket proxy, add
```
location /ws {
proxy_pass http://localhost:3000/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 1d;
}
```## Play
Choose an id (for example 1234), and open in browser: http://localhost:3000?id=1234