fixed 'ships_placed' variable to make it persistent