https://github.com/mdp/randbot
The Amazing Randbot - A demo of MachinePoker's remote API
https://github.com/mdp/randbot
Last synced: 9 months ago
JSON representation
The Amazing Randbot - A demo of MachinePoker's remote API
- Host: GitHub
- URL: https://github.com/mdp/randbot
- Owner: mdp
- Created: 2013-11-18T00:47:40.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-18T00:49:25.000Z (over 12 years ago)
- Last Synced: 2024-04-15T03:17:11.706Z (about 2 years ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### The Amazing Randbot
RandBot's is a demo of the API for [MachinePoker](https://github.com/mdp/MachinePoker)
#### The remote API
Pokerbots should respond to two calls
##### GET: Should return the bot's basic info via JSON
Example Response:
{
name: "Randbot"
, btcWallet: "1DAxkDntXRk6N7eUaKiiPGvwXuaaAkd7PL"
}
##### POST: Should expect to receive a JSON payload with game data and return a bet
Example Request: [https://gist.github.com/mdp/050cd82f651eb9f9b9c8](https://gist.github.com/mdp/050cd82f651eb9f9b9c8)
Example Response:
{
bet: 10
}