summaryrefslogtreecommitdiff
blob: 5c156e9000a54a08ab77a6319d29abd61d3d8ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Tacticians Online - Server
This is the code for the back-end of Tacticians Online, an online
multiplayer turn-based strategy game.

## Getting Started

### Prerequisites
* Erlang
* GNU make
* Jiffy (JSON NIFs for Erlang)
* Tacticians Online - Data
* Ataxia
* Yaws
* m4

### Installing
1. Go into the directory in which this repository was cloned.
2. Set the DATA\_DIR variable in `./Makefile` to match the "Tacticians Online -
   Data" directory.
3. Copy Yaws's `yaws_api.hrl` file to the `./include/` directory.
4. Run `$ make`.
5. Run `$ make run_db_node`, and then `$ make run_query_node` in parallel.
6. You should be done. If Erlang complains about node addresses, you might need
   to set the `ERL_NAME_VS_SNAME` variable in `./Makefile` to its other value.

## Screenshot (of the Client)
![Screenshot of a battle](https://noot-noot.org/to-2018-09-07.png)

## License
Apache License 2.0 (see `./LICENSE`)