Just click the flag and move your cursor around the board.
This project was made, while I was trying to make a battleship project.