Search trees games implementation