Commit graph

500 commits

Author SHA1 Message Date
7be0f83c5e Fix golanglint missing error check 2020-07-24 22:58:59 +01:00
a0e04b7e3a Placed dormant world rovers randomly have better base stats 2020-07-24 22:56:35 +01:00
a93ce97b0b Only assign rovers to accounts if given an account 2020-07-24 22:54:06 +01:00
57621d169a Implement a test for transfer and fix bugs 2020-07-24 22:50:47 +01:00
fdfcc88540 Move the account registration into the world 2020-07-24 22:50:35 +01:00
6f2d67bd7c Tag rovers by the controlling account 2020-07-24 22:22:32 +01:00
e840b3e47b Move accountant into world 2020-07-24 20:06:06 +01:00
1e4d642038 Add rover transfer command and implementation
Need to swap the accounts
2020-07-24 20:01:35 +01:00
5b2ea533f4 Remove incorrect proto comment 2020-07-24 19:46:32 +01:00
edd3e5a6cb Fix test by removing object before warping rover 2020-07-24 19:42:34 +01:00
b0ff3eb6ea Remove redundant tests (covered in command_tests) 2020-07-24 19:39:33 +01:00
be36f0631b Add logs for failed stashes 2020-07-24 19:39:25 +01:00
c321f88d96 Add code for salvage command 2020-07-24 19:39:14 +01:00
7cccb4394f Fix the help text comment 2020-07-24 19:28:44 +01:00
524487ce14 Stop the dormant rover from being a blocking object 2020-07-24 19:27:54 +01:00
2f1ccdfdb9 Make repair require rover parts 2020-07-24 19:08:39 +01:00
ce6e10afbb Add salvage command to main.go man page 2020-07-24 19:08:03 +01:00
2c1bb80779 Add salvage command
Slight refactor to re-use command variables

	Also fixes the cmdline client turn command
2020-07-23 20:57:36 +01:00
41cd93e986 Add command test for no command as error 2020-07-23 18:41:12 +01:00
8cc3b9155e Implement broadcast command test 2020-07-23 18:40:32 +01:00
8a8a27ab47 Add a test for the repair command 2020-07-23 18:37:54 +01:00
3bfc91b8f6 Add command test for stashing 2020-07-23 16:58:17 +01:00
8279a08a37 Limit the log entries to a max number 2020-07-23 16:47:39 +01:00
46d904acc6 Rename and comment ticksPerNormalMove 2020-07-23 16:44:15 +01:00
be74183878
Merge pull request #32 from mdiluz/simplifystatus
Organise the status response into sub-sections
2020-07-23 16:33:10 +01:00
13e4d6a5e6 Remove an old log left in 2020-07-23 00:34:57 +01:00
f7192b3997 Organise the status response into sub-sections 2020-07-23 00:32:19 +01:00
4cbf4a9ab5
Merge pull request #31 from mdiluz/remove-doublequeue
Remove the incoming command streams, de-scopes and simplifies
2020-07-23 00:18:51 +01:00
2bc2477128 Remove the incoming command streams, de-scopes and simplifies 2020-07-23 00:13:28 +01:00
d49d034f0e
Merge pull request #30 from mdiluz/sailing
Swap out movement mechanics for sailing mechanics
2020-07-23 00:03:26 +01:00
6adc652cea Fix lint errors 2020-07-22 23:59:28 +01:00
1e18610c5c Set tick rate to 3 2020-07-22 23:57:22 +01:00
5d80cb2596 Implement sailing tests and fix into-the-wind bug 2020-07-22 23:50:42 +01:00
c89c5f6e74 Implement current wind direction and rover wind movement 2020-07-22 23:36:13 +01:00
c94ac68f44 Remove all json tags, simply not needed 2020-07-22 19:55:38 +01:00
075a502103 Pull the repair function out 2020-07-22 19:25:47 +01:00
9e42764398 Update the rover list to a list of pointers 2020-07-22 19:25:32 +01:00
447dbe3582 Fix a test comment 2020-07-22 19:24:55 +01:00
6b5d5abea1 Rename the world tick function and set the tick rate back to default 2020-07-22 19:24:36 +01:00
8667f55143 Simplify by making command streams pointer lists like in proto 2020-07-21 23:52:14 +01:00
f78efd1223 Add SailPosition to the rover and implement toggle command
This also converts the commands to use the proto type for simplicity
2020-07-21 23:44:06 +01:00
6f30b665c7 Make the bearings 8 directional 2020-07-21 22:58:59 +01:00
6c75f07aff Remove move and recharge commands in favor of toggle command for the sails 2020-07-21 22:57:43 +01:00
89123394cd
Merge pull request #28 from mdiluz/dormant-rovers
Dormant rovers
2020-07-19 19:20:03 +01:00
77212c7258 Fix logic for rover marshal test 2020-07-19 18:57:22 +01:00
bffad84181 Don't use noise for rover spawns for now 2020-07-19 18:57:12 +01:00
04d7a5a4ca Fill in the dormant rover log 2020-07-19 18:47:54 +01:00
211771121f Extract rover naming to rover.go 2020-07-19 18:47:44 +01:00
d3c480cb04 Add dormant rover data marshalled into obj data 2020-07-19 18:39:16 +01:00
1281713211 Clear locations before warp in tests 2020-07-19 18:35:12 +01:00