game UI code updated