-
Notifications
You must be signed in to change notification settings - Fork 0
Add minor doc suggestions. #22
base: main
Are you sure you want to change the base?
Conversation
@@ -55,6 +55,7 @@ your destination target if you decide to by calling the same action: | |||
- tick 3: `{}` | |||
- tick 4: `{"path": [250,300]}` | |||
|
|||
In the example above, the client initially chose to travel to the coordinate point `[100,100]`, then the client took no | |||
action for 2 ticks and in the 4th tick they decided to interrupt their previous journey, change their destination and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's important to emphasise here that the client "took no action for two ticks" (wording could be better). The point of this example is to clarify that you choose your path once and you don't have to keep telling the server where to go once you've chosen a coordinate point to travel to.
Before the main communication cycle starts between the game and your players, a few messages will be sent from the game | ||
to you in, one-way. These messages are some initial information about the game and the map that you will need to | ||
Before the main communication cycle starts between the game and your players, | ||
a few "one-way" messages will be sent from the game to you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for improving the wording, it would be good if we could touch on what a "one-way message" is too.
@@ -41,4 +41,4 @@ boundary. For more information on the map, please refer to [Map](../game_logic/m | |||
velocity of its corresponding wall of the boundary. (i.e. `[x_speed, y_speed]`). Please note that the velocity for game | |||
boundary will always be zero. | |||
|
|||
* `boundary-id` is the id of this boundary. | |||
* Where `boundary-id` is mentioned, this will be replace with the id of this boundary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the wording of this dot point adds to the complexity of understanding the docs.
@@ -23,4 +23,4 @@ please refer to [Map](../game_logic/map.md). | |||
|
|||
* `damage`: This is how much damage this particular bullet will deal. This value can change if a tank collects a powerup. | |||
|
|||
* `bullet-id` is the id of this bullet. | |||
* Where `bullet-id` is mentioned, this will be replace with the id of this bullet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the wording of this dot point adds to the complexity of understanding the docs.
No description provided.