BWApi aims to be a free to use re-implementation of the Blocksworld Game API, allowing for Players to reconnect with other members of the Blocksworld community!
Clone this repository or use the Download ZIP button inside Code button on GitHub.
Then, install Node.JS and npm (node's package manager):
sudo apt-get install node npm
npm install
The most complex part is doing setup for HTTPS (optional):
- You must have a certificate, you can get one for free from Let's Encrypt
- You will need to create a directory called
cert
that will contain:fullchain.pem
: The full chain of your certificateprivkey.pem
: The private key of your certificate
To configure the server, check the README.md in the conf
folder.
Now to launch the server you MUST have NodeJS installed (refer to Setup steps), when it is installed, you just have to open the terminal (cmd.exe
in Start Menu for Windows).
Then do cd path/to/your/instance
and press Enter.
Now type launch.bat
on Windows or ./launch
on Linux and then press Enter.
bwapi
is under GPLv3 license.