From 028fdb5b30befb1200f9f6ea8e8e247dc7bed50a Mon Sep 17 00:00:00 2001 From: fschildt Date: Tue, 20 Jan 2026 02:16:10 +0100 Subject: snake: reduce playfield size --- src/games/snake/Snake.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/games/snake') diff --git a/src/games/snake/Snake.hpp b/src/games/snake/Snake.hpp index 3d08baf..22f93cb 100644 --- a/src/games/snake/Snake.hpp +++ b/src/games/snake/Snake.hpp @@ -35,8 +35,8 @@ private: private: - static constexpr int32_t max_map_width = 16; - static constexpr int32_t max_map_height = 16; + static constexpr int32_t max_map_width = 14; + static constexpr int32_t max_map_height = 14; static constexpr float tiles_per_second = 4.0f; static constexpr char highscore_path[] = "snake_highscore.txt"; @@ -45,8 +45,8 @@ private: static std::mt19937 s_rng; std::uniform_int_distribution m_dist; - int32_t m_starting_map_width = 12; - int32_t m_starting_map_height = 12; + int32_t m_starting_map_width = 10; + int32_t m_starting_map_height = 8; Direction m_direction; Direction m_last_advanced_direction; -- cgit v1.2.3