diff --git a/ruby/bin/gosuhunt b/ruby/bin/gosuhunt index e56dc65..36fb336 100755 --- a/ruby/bin/gosuhunt +++ b/ruby/bin/gosuhunt @@ -24,10 +24,9 @@ class GosuHunt < Gosu::Window cell: Gosu::Image.from_blob( @sprite_size * @scale, @sprite_size * @scale, bits_to_rgbas( '1' * @sprite_size * @sprite_size ) ), visited_cell: Gosu::Image.from_blob( @sprite_size * @scale, @sprite_size * @scale, bits_to_rgbas( '0' * @sprite_size * @sprite_size ) ) } + # Creation of the window super ( ( @sprite_size + 1 ) * @field.width * @scale ) + @scale, ( ( @sprite_size + 1 ) * @field.height * @scale ) + @scale + 20 - - self.caption = 'Gosu Hunt' end def bits_to_rgbas( bits )