Commit graph

41 commits

Author SHA1 Message Date
2f6465987d More de-scope - remove duration on move command
This isn't even needed, as commands can just be queued up
2020-06-26 22:26:27 +01:00
db3c2c2c2e De-scope, remove rover speed 2020-06-26 18:48:07 +01:00
7ee340e976 Move Rover position into main class 2020-06-26 18:22:37 +01:00
bea08d54f1 Add description to rove documentation 2020-06-13 13:38:12 +01:00
187a0a6165 Finish HTTP tests and adjust APIs to allow them to pass 2020-06-13 13:18:22 +01:00
a4a04a15fb Remove empty proto i/o structs in favor of placeholders 2020-06-13 11:57:27 +01:00
856771dac7 Rename the RoveServer proto to Rove 2020-06-13 10:43:35 +01:00
51030ac162 Fix swagger gen path 2020-06-13 10:42:40 +01:00
8c6230ca20 Implement a reverse proxy using grpc-gateway 2020-06-13 00:23:21 +01:00
7ababb79f6 Migrate to gRPC rather than REST with swagger
Will also be adding in a RESTful endpoint to the server as well so it can consume both types
2020-06-12 22:51:18 +01:00
6cfc9444f3 Simplify the APIs to return http status codes 2020-06-12 19:05:26 +01:00
faaa556ad0 Move the Atlas code into it's own package 2020-06-11 20:42:59 +01:00
7749854eb7 Remove account IDs in favor of just account names
These were a "security" feature but pre-emptive and just add complications when we can implement secrets later
2020-06-10 18:57:43 +01:00
b3b369f608 Remove /spawn POST endpoint
This was increasing complexity for no added benefit

	/register now performs the spawn in 4 lines of code
2020-06-10 18:48:56 +01:00
62d6213c1a Change GET and SET to CamelCase 2020-06-10 17:27:55 +01:00
14c4e61660 Fix up gocritic issues 2020-06-10 12:34:04 +01:00
6a868d3e41 Fix up TODOs and comments that have now been done 2020-06-09 18:33:30 +01:00
b0e076ac1a Refactor radar to return a full set of the tiles within rover range 2020-06-08 18:14:24 +01:00
35806576f9 Add a bunch of TODOs 2020-06-07 23:17:56 +01:00
43648926ca Large refactor to properly implement radar
/radar now returns a set of non-empty tile blips
2020-06-07 22:30:03 +01:00
5e1f9b0d31 Refactor rover attributes to add a name 2020-06-06 16:52:30 +01:00
db38ad6091 Add tick information to server status 2020-06-06 16:37:57 +01:00
e3ce87e964 Simplify duplicate command types 2020-06-06 12:45:45 +01:00
79c07f359b De-integration the api tests by launching their own server 2020-06-06 00:36:08 +01:00
9c0dde616b Refactor to implement integration testing for rove 2020-06-06 00:04:30 +01:00
cade908ed2 Refactor APIs to take an /{accountid}/ prefix 2020-06-05 23:08:59 +01:00
9ae1f50f46 Rename /commands to /command
Make it a verb not a GET fetch
2020-06-05 22:34:32 +01:00
9d57f48f98 Add /rover command to get rover info 2020-06-05 22:23:01 +01:00
d3dd1130a2 Very minor cleanups and error addition 2020-06-05 21:29:55 +01:00
7297a6de9a Clean out confusing assert messages 2020-06-05 18:09:22 +01:00
7be2a0f1b7 Add tests for each current API
These aren't extensive yet, and don't reset the server, but it's a good step forward
2020-06-05 18:06:16 +01:00
f82565bf22 Refactor and implement the api functions 2020-06-05 17:59:14 +01:00
376a036067 Large refactor to server code to re-organise 2020-06-04 17:53:25 +01:00
4c76530832 Fix tests and actually use the account name 2020-06-02 18:06:34 +01:00
50c970fea2 Add /spawn command to let an account spawn it's primary instance 2020-06-02 18:00:51 +01:00
c085e56954 Fix port for tests 2020-06-02 16:12:28 +01:00
93decc027b Refactor into server object to handle registered accounts 2020-05-31 11:18:26 +01:00
eccb726f74 Add the concept of a player and the /register endpoint 2020-05-31 00:08:50 +01:00
5d250edb6b Update comments 2020-05-30 23:17:59 +01:00
346c59e5ee Implement the integration test to check the status 2020-05-30 22:53:28 +01:00
60cbf8b8d0 Add rove package for the client api 2020-05-30 22:47:04 +01:00