/bwapi

Reimplementation of the Blocksworld game API server.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

GitHub GitHub GitHub GitHub

Blocksworld API server

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!

Server Installation:

Ubuntu / Debian

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 certificate
    • privkey.pem: The private key of your certificate

Configure

To configure the server, check the README.md in the conf folder.

Launching

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.

License

bwapi is under GPLv3 license.