fixed bug yourTurn and added old php