Added another criteria: avoid going on a grid where you could win