Commit graph

28 commits

Author SHA1 Message Date
2bc2477128 Remove the incoming command streams, de-scopes and simplifies 2020-07-23 00:13:28 +01:00
6adc652cea Fix lint errors 2020-07-22 23:59:28 +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
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
6c75f07aff Remove move and recharge commands in favor of toggle command for the sails 2020-07-21 22:57:43 +01:00
211771121f Extract rover naming to rover.go 2020-07-19 18:47:44 +01:00
9130cf2517 Move atlas package into rove 2020-07-19 18:30:07 +01:00
ddbbdce1f8 Move default rover params to function 2020-07-19 18:23:11 +01:00
57f668ae54 Reinstate BearingFromString function 2020-07-19 13:13:09 +01:00
4e0e55af88 Move bearing into proto file 2020-07-19 12:54:41 +01:00
3796ee09a3 Merge remote-tracking branch 'origin/master' into glyphs 2020-07-19 12:38:46 +01:00
7bdfa44fb6 Fix up the concept of "None" tiles and objects
Replace with "Unknown" which is effectively an invalid value
2020-07-19 12:33:11 +01:00
305f64ec38 Large refactor, move object and tile types out into the proto 2020-07-19 12:26:57 +01:00
7e41ac0028 Rename the glyphs 2020-07-19 11:57:41 +01:00
53d6ad08d9 Rename Type to ObjectType 2020-07-19 11:47:19 +01:00
c2e3c9f090 Reject move commands in non-cardinal directions 2020-07-19 11:26:08 +01:00
737534f739 Move roveapi into the proto dir 2020-07-10 19:01:41 +01:00
f0ab2abf6e Move object into atlas 2020-07-10 18:39:33 +01:00
f40f7123d4 Move bearing into maths 2020-07-10 18:24:54 +01:00
5b1fe61097 Move vector into maths package 2020-07-10 18:22:59 +01:00
97d3be000b Re-order some World members 2020-07-10 18:14:32 +01:00
b534ac0516 Rename generated rove package to roveapi and the game package to rove 2020-07-10 18:09:51 +01:00
Renamed from pkg/game/world.go (Browse further)