removed double call to api after reset, win condition updated