gets player_one type from ui and sets