https://github.com/kyleu/hawkthorne
#sixseasonsandagame
https://github.com/kyleu/hawkthorne
Last synced: about 2 months ago
JSON representation
#sixseasonsandagame
- Host: GitHub
- URL: https://github.com/kyleu/hawkthorne
- Owner: kyleu
- Created: 2018-07-04T03:21:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-07T07:34:08.000Z (over 7 years ago)
- Last Synced: 2025-12-31T00:31:19.594Z (6 months ago)
- Language: Scala
- Size: 73.5 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Hawkthorne
[https://hawkthorne.net](https://hawkthorne.net)
Hawkthorne is a web game based on the Community episode "[Digital Estate Planning](https://github.com/KyleU/hawkthorne/wiki/EpisodeS03E20)".
The project is written in pure Scala, using assets and logic from [Digital Estate Planning: The Game](https://github.com/hawkthorne/hawkthorne-journey), an open source project.
## Running the app
First, change the database section of application.conf to use your existing database credentials.
You'll either need Node.js available as "node" on the path, or change project/Server.scala's EngineType to Rhino.
Now, finally,
```shell
$ sbt
> run
$ open http://127.0.0.1:9000
```
As the application starts, it will create database tables and seed data.
The first account to sign up is created as an Admin, all subsequent users will have a normal user role.
## Projects
* `server` Main web application
* `core` Minimal shared classes, compiled to JVM, Scala.js, and native
* `shared` Core Scala logic and rules definitions, for JVM projects, compiled to JVM, Scala.js, and native
* `client` The main game logic, a Scala.js app
* `doc` Paradox documentation, published via `ghpages`
* `adminClient` Scala.js app for the admin site
* `pipeline` Creates all of the Scala files in `models.data`
* `wikiExport` Generates the Github wiki from shared definitions