Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
move ? to top
Browse files Browse the repository at this point in the history
  • Loading branch information
benkitzelman committed Apr 27, 2016
1 parent fdc6445 commit 6d7bdd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions INSTRUCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,19 @@ To test out your API, a simple client side bot has been written to control a tea

![LocoBot](/public/images/brain.png)
## Player APIs
On each turn, a player can move planes based upon instructions pulled from an external API. Enter the APIs endpoint into the relevant teams API textbox, then click on the brain.
On each turn, a player can move planes based upon instructions pulled from an external API. Enter the APIs endpoint into the relevant teams API textbox (i.e. `http://myhost.com/my_endpoint`), then click on the brain.

At the start of each turn, for a team with an api enabled, the current gamestate is posted to the configured endpoint:

### Posted Data

```
POST /some_endpoint HTTP/1.1
POST /my_endpoint HTTP/1.1
Host: some_host:some_port
Connection: keep-alive
Content-Length: 1896
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/json; charset=UTF-8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8
{
Expand Down
2 changes: 1 addition & 1 deletion src/styles/_map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ ul li {
font-size : 24px;
position : fixed;
border-radius : 30px;
bottom : 10px;
top : 10px;
left : 10px;
padding : 10px 15px;
box-shadow : 2px 2px 10px rgba(0,0,0,0.35);
Expand Down

0 comments on commit 6d7bdd4

Please sign in to comment.