Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/etaque/tacks
Real-time multiplayer sailing game, in your browser
https://github.com/etaque/tacks
actors akka elm game websockets
Last synced: about 2 months ago
JSON representation
Real-time multiplayer sailing game, in your browser
- Host: GitHub
- URL: https://github.com/etaque/tacks
- Owner: etaque
- License: other
- Created: 2014-08-27T14:06:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-10T20:16:54.000Z (over 7 years ago)
- Last Synced: 2024-07-31T17:16:45.948Z (4 months ago)
- Topics: actors, akka, elm, game, websockets
- Language: Elm
- Homepage:
- Size: 14.9 MB
- Stars: 137
- Watchers: 7
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - etaque/tacks - Real-time multiplayer sailing game, in your browser (game)
README
# [Tacks](http://www.playtacks.com)
A sailing race simulator, multiplayer & real-time, in you browser.
Server app is powered by Scala 2.11 with Play 2.3, Slick 3, Akka for websockets orchestrations and uses PostgreSQL for database. No classes except actors, code is written in a functional style.
Game client is an [Elm](http://elm-lang.org/) app, an statically-typed functional language that compiles to Javascript.
## Architecture
Server area:
- Players sync
- Race managementDone withing Akka actors, communicating with the client through Websockets and JSON API. No rendering from the server.
Client area:
- Single Page App
- Game rendering (SVG)
- Game logic (input handling, player moves, etc)## How to install
Server (Play app):
- download and install [Typesafe Activator](https://typesafe.com/activator)
- start app with `activator run`Client (Elm app with JS boot and SASS stylesheets):
- `cd client`
- `npm install`
- `npm start`