sendMine(), "shop" => sendShop(), "inventory" => Inventory::sendContent(), "miners" => sendMiners(), "dungeon" => sendDungeon(), "perso" => sendPerso(), ); echo json_encode($data); } function resetGame() { $_SESSION = array(); } ?>