added buttons and player turn