Tree simulation, game reset added (for debugging)