From 693f5b83e99df2cec2e1131655bbe9595824930e Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 14 Jun 2026 15:32:57 -0600 Subject: [PATCH] Update main.rb (#8) This works. I did find out in my testing that it might not set the zoom correct however as soon as you do zoom it works properly. Also odd aspect ratios (eg not my aspect ratio) cause the squares to be not so square Reviewed-on: https://git.hintonclan.org/bionickatana/number_factory/pulls/8 Co-authored-by: nathan Co-committed-by: nathan --- main.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.rb b/main.rb index ea15484..f24f760 100644 --- a/main.rb +++ b/main.rb @@ -9,8 +9,8 @@ require './producer.rb' require './consumer.rb' # Viewport resolution -WIDTH = 1920 -HEIGHT = 1080 +WIDTH = Gosu::screen_width +HEIGHT = Gosu::screen_height BOX_SIZE = 64 # Default game settings