From f5f8cdba37879ad3025b18fe0cf3f614d2e98bd9 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Thu, 17 Apr 2025 22:41:45 -0400 Subject: [PATCH] Use main.cpp and disable healing for now. --- game_engine.cpp | 3 ++- escape_turings_tarpit.cpp => main.cpp | 0 meson.build | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename escape_turings_tarpit.cpp => main.cpp (100%) diff --git a/game_engine.cpp b/game_engine.cpp index be6b885..2dffd65 100644 --- a/game_engine.cpp +++ b/game_engine.cpp @@ -118,7 +118,8 @@ void GameEngine::SUCCESS(GameEvent ev) { assert(ev == GameEvent::BUILD_DONE && "success state expected BUILD_DONE"); ++rounds; ++streak; - heal(); + dbc::log("healing is disabled for now"); + // heal(); state(GameState::IDLE); } diff --git a/escape_turings_tarpit.cpp b/main.cpp similarity index 100% rename from escape_turings_tarpit.cpp rename to main.cpp diff --git a/meson.build b/meson.build index 879501b..a5d19ae 100644 --- a/meson.build +++ b/meson.build @@ -103,7 +103,7 @@ sources = [ executable('escape_turings_tarpit', sources + [ - 'escape_turings_tarpit.cpp' + 'main.cpp' ], cpp_args: cpp_args, link_args: link_args,