Project requires some web development knowledge to run, but here are some hints:
1. In distributable package, run npm install in both `client/` and `assets server/`.
2. You have to create your own firebase instance - app and database. This video shows the process -> https://www.youtube.com/watch?v=xhURh2RDzzg
3. In both client and assets server, update firebase-connection service so it has configuration obtained in step 2.
4. Your firebse should have this rules:
{
"rules": {
".read": "auth != null",
".write": false,
"players": {
"$uid": {
".write": "auth != null"
}
},
"coins": {
".write": "auth != null"
},
"traps": {
".write": "auth != null"
},
"leaderboardRecords": {
".indexOn": "score",
"$uid": {
".write": "auth != null && auth.uid == $uid"
}
}
}
}
5. Run both projects by typing `npm start`.
Karol Dąbrowski - everythin'.
Thanks to my co-team for support and fantastic atmosphere: Nina, Michał H. Michał W., Krzysztof G., Jacek G.!