1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 05:37:34 +00:00

Games: Add GameOfLife

This patch introduces a new game based on Conway's Game of Life.
This commit is contained in:
Andres Crucitti 2021-04-11 18:46:58 -07:00 committed by Linus Groh
parent e4f61c6f28
commit d99991e39c
18 changed files with 667 additions and 288 deletions

View file

@ -0,0 +1,57 @@
@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
}
@GUI::ToolbarContainer {
@GUI::Toolbar {
name: "toolbar"
@GUI::Label {
text: "Columns:"
fixed_width: 60
}
@GUI::SpinBox {
name: "columns_spinbox"
min: 10
max: 999
fixed_width: 40
}
@GUI::VerticalSeparator {
}
@GUI::Label {
text: "Rows:"
fixed_width: 40
}
@GUI::SpinBox {
name: "rows_spinbox"
min: 10
max: 999
fixed_width: 40
}
@GUI::VerticalSeparator {
}
@GUI::Label {
text: "Update Speed:"
fixed_width: 90
}
@GUI::SpinBox {
name: "interval_spinbox"
min: 10
max: 5000
fixed_width: 60
}
}
}
@GUI::Widget {
name: "board_widget_container"
fill_with_background_color: true
}
@GUI::Statusbar {
name: "statusbar"
}
}