This project is the client side source from Snacraft game. This game is a classical snake multiplayer game. It is available in the web and Google Play.
- npm
- python
- google-cloud-sdk [optional]
After installing npm
, install dependencies:
npm install
dev_appserver.py dev-app.yaml --admin_port 9090
This command starts development server at localhost:8080.
It is also possible to use any other http server.
python3 -m http.server
Open the localhost URL with parameter server
, for example:
http://localhost:8000?server=secret-reaches-61045.herokuapp.com
npm run build
This command generates distribution files at dist
folder.
gcloud app deploy app.yaml --project <PROJECT_ID>