added css transition
added timeout function for computer turn
updated