Finished most of the turn logic