The LandsWar server which contains the API and the WebSocket server.
LandsWar is a turn-based tactics online video game inspired by Advance Wars.
There are 3 types of units in the game (we don't have define the number of units in each category):
- ground units
- air units
- naval units
Also, there are a lot of different type of ground with bonus or malus for units.
With LandsWar, you will be able to play against your friend and people from all around the world.
Coming soon...
I use async/await so you need node.js v8.
You need first to install docker-compose to start databases (Percona and Redis).
Then, you can run these commands:
yarn
yarn run start-docker
yarn start
If you have Postman installed, you can get and test all available routes with Postman:
yarn run stop-dockerTo stop docker instances.yarn run debugTo start the app with the debugger on port 5858.yarn run lintTo run the ESLint code check.yarn run fix-codeTo fix simple norm errors with ESLint.yarn run create-dbTo create the Database.
The API documentation is available here: https://landswar.github.io/server/
If you find a bug or want a new feature, don't hesitate to create an issue.

