Cheating prevention
By now you probably are scratching your chin and asking yourself: "But is this secure? Is a hacky player able to exploit the game to its benefit somehow?"
If you answered "No" to yourself, you are correct. By all means we would like to explain you how to make every little thing cheat-proof. However, we don't want to give you the fish by bloating the code with lots of validations; but rather, explicitly writing about how you can learn how to fish.
The current game, as is, is not cheat-proof whatsoever. There are a lot of validations that are not performed, so it will only work predictably until a clever user starts doing packet-sniffing and sending things that are not really expected by our protocol.
Let's try to understand how cheating could be achieved in our particular case, and how would we prevent it by looking at a few examples:
In the client's tick, we let the client decide where its planes are going to be at. If a user with malicious intent sent this packet after modifying...