Rating:

More detailed writeup: [https://ubcctf.github.io/2022/03/utctf-cheating-battleship/](https://ubcctf.github.io/2022/03/utctf-cheating-battleship/)
# Summary
The client sends a packet to the server right as you place your last ship. This packet contains the coordinates of your ships which the AI uses to cheat. You can intercept and replace this packet to provide bogus positions and make the AI miss. Then proceed to play Battleships normally and when you win you’ll get the flag.

Original writeup (https://ubcctf.github.io/2022/03/utctf-cheating-battleship/).