-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Entreco edited this page May 25, 2018
·
9 revisions
Using these samples, you can create your own Bot for Reversi/Othello. There is a Referee app, that uses Firebase to push the board to remote players.
You can run it on:
- any device running Android 23 or higher
- any simulator running Android 23 or higher
Use it to test your bot, or (manually) play against your own bot
Follow the instructions for setting up your bot:
A valid move is exactly this format: "{\"row\":0, \"col\":0}"
E.g. this whole flow needs to succeed in less than 8 seconds:
- Referee writes to your moves node
- Referee starts counting
- Firebase will push updates to your Bot
- Calculate the best move
- Write your move to Firebase
- Firebase will push your move to the Referee
- Referee receives your move
To simplify the whole flow, authentication is disabled. E.g. everyone has all rights As a rule of Thumb, only write to nodes below your own player node:
https://reversi-wars.firebaseio.com/players/<your uuid>