Server backend and procedural generation tools for the game FarAway by YourWorstFriend
sudo npm i -g pomelo
(GNU/Linux || OSX) ||\
npm i -g pomelo
(Windows)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