Added state machine to tournament