https://github.com/krisleech/dotty
Dotty game server and UI
https://github.com/krisleech/dotty
clojure game-development
Last synced: 10 months ago
JSON representation
Dotty game server and UI
- Host: GitHub
- URL: https://github.com/krisleech/dotty
- Owner: krisleech
- Created: 2018-03-30T13:27:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-15T14:53:54.000Z (over 6 years ago)
- Last Synced: 2025-03-26T07:52:49.055Z (11 months ago)
- Topics: clojure, game-development
- Language: JavaScript
- Size: 456 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotty
Dotty Game Server and UI prototype.
Allow multiple players to play the same game displayed on a large screen. This
could be a smart TV web browser or a regular PC connected to a large monitor.
Players use their mobile phones as an interface (movement controls, score etc.).
Visit `localhost:3000` using the smart TV browser and click "display".
Visit `localhost:3000` on any number of mobile phones and click "join".
The mobile will have controls to move their player on the screen.
The game is [tag](https://en.wikipedia.org/wiki/Tag_(game)).
There is a two-way connection between the server and clients using web sockets.
The idea is to integrate [phaser.js](https://github.com/photonstorm/phaser)
next.
## Installation
* Install Java
* Install [Leiningen](https://github.com/technomancy/leiningen/wiki/Packaging)
* Clone the repository
## Development
```
lein run
```
and visit http://localhost:3000
### Using Docker
```
docker build -t dotty .
docker run -p 3000:3000 dotty
```
### Using Docker Compose
```
docker-compose build
docker-compose up
```
## Deployment
TODO