Skip to content
No description or website provided.
JavaScript Vue Kotlin HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
webapp
LICENSE
README.md

README.md

Android Makers Stand

Simon

Guideline

New Game

  • A player, clicking on white button
  • Store in Firebase:
player/

{
  id: '<unique id>',
  name: '<random name>',
  email: '<player email>',
  count: <number of color found>,
  start: <timestamp at start>
}

End of Game

  • A player, loosing round
  • Store in Firebase:
score/

[
 ...
 {
  id: <player id>
  name: '<player name>',
  email: '<player email>',
  count: <number of color found>,
  time: <elapsed time since beginning in milliseconds>
 }
]
  • Remove /player node

Example of JSON:

{
	"player": {
		"id": "f64f2940-fae4-11e7-8c5f-ef356f279131",
		"name": "arnaud",
		"email": "john@doe.fr",
		"count": 10,
		"start": 1520606607
	},
	"score": [{
		"id": "f64f2940-fae4-11e7-8c5f-ef356f279131",
		"name": "arnaud",
		"email": "arnaud@doe.fr",
		"count": 10,
		"time": 60000
	}, {
		"id": "f64f2940-fae4-11e7-8c5f-ef356f279132",
		"name": "michael",
		"email": "michael@doe.fr",
		"count": 10,
		"time": 50000
	}]
}
You can’t perform that action at this time.