Available languages: in English, in Russian.
TheTrueHat is a web-application for the game Alias. You can play the Alias with your friends or organise an Alias tournament. This project supports a web-interface for the game, and a server that will took responsibility for all technical details.
The game is available now here.
- Cross-platform. You can set the server up on Windows, Linux and Mac OS X, and web-application supports Google Chrome (PC and Android), Mozilla Firefox (PC and Android) and latest Opera (PC and Android).
- Easy to start. It's ready to start right now. You don't need to delve into anything and code anything to start play.
- Good performance: this project is written on Node.js - one of the fastest frameworks.
Warning. Don't use this instruction on production. See our documentation before.
- Install Node.js
- Install Caddy v.1
- Download the repository.
- Run in a console in the project directory:
npm install --only=prod --no-fund
- Modify
Caddyfile
in project directory in such way:- Replace
<project_dir>
with the project path. - Replace
<log_dir>
with path for Caddy log file (for example, the project path). - Replace
<error_dir>
with path for Caddy error file (for example, the project path). - Replace all
<port>
with some vacant port. - Replace all
<socket_port>
with another vacant port.
- Replace
- Modify
config.json
in project directory in such way:- Update value by key
"port"
with your<socket_port>
parameter.
- Update value by key
- Run in the first console with working directory in project directory:
caddy -pidfile=caddy.pid
- Run in the second console with working directory in project directory:
node server.js
- Go by the link
http://localhost:<port>
with<port>
replaced by your<port>
parameter. - Have fun!
Just stop processes in both consoles you used to launch project.
You can see the documentation here.
We want to express gratitude for their cooperation to SIS.Hat project.
This project is available by MIT license.