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