Server backend and procedural generation tools for the game FarAway by YourWorstFriend
- Install NodeJS (you know what to do)
- Install pomelo:
sudo npm i -g pomelo
(GNU/Linux || OSX) ||
npm i -g pomelo
(Windows) - Clone this repository:
git clone git@github.com:lemilonkh/faraway-server.git
cd faraway-server
sh npm-install.sh
(GNU/Linux; OSX)||
npm-install.bat
(Windows)
Start the game server:
cd game-server
npm start [OR] pomelo start
Start the web server:
cd web-server
npm start [OR] pomelo start
cd game-server
npm run procgen
xdg-open ../exaples/output_[...].png # for GNU/Linux
[OR]
cd game-server/procgen
node world.js > myFile.png