created winning strategy
end of the game detection