A game of sink the fleet made in Java that supports player vs machine, player vs player, and players(1 to 49) vs machines (1 to 49). Game loop is: