This project was created for learning purpose and was presented in meetups.
You have to use 2 apps - Map & Controller. You can see your player on the "Map" once you login by using "Controller" app.
- Map: https://game-map.romanaxelrod.com
- Controller: https://game-ctrl.romanaxelrod.com
Part 01 - https://www.youtube.com/watch?v=BnUMBJFKaoM
Part 02 - https://www.youtube.com/watch?v=Wd_WlIWMd3k
-
Before you start, make sure to copy and edit the
config.default.ts
file toconfig.ts
. -
Go to firebase directory, configure and deploy
Cloud functions
. (Make sure you have firebase cli tool). -
Run:
npm install
- Go to
./firebase/functions
and run:
npm install
- Get back to firebase folder
cd ../
, and deploy the Cloud Functionsfirebase deploy
.
ng serve --project controller
ng serve --project map --port 4201
Enjoy and feel free to ask me any questions!