fixed animation bug, tictactoe logic, win state logic