ladybird/Userland/Games/Snake/Snake.gml
Timothy Flynn 661c02b914 Snake: Use a statusbar to display the current and high score
The food bitmaps would sometimes be placed underneath the score text,
which was a bit hard to see. Use a statusbar like we do in other games
like Solitaire.

Note the default height change of the Snake window is to make the inner
game widget fit exactly 20x20 cells.
2022-12-23 23:26:21 +01:00

14 lines
261 B
Text

@GUI::Widget {
layout: @GUI::VerticalBoxLayout {}
fill_with_background_color: true
@Snake::Game {
name: "game"
fill_with_background_color: true
}
@GUI::Statusbar {
name: "statusbar"
segment_count: 2
}
}