Greed: Difference between revisions
m
→{{header|Julia}}
Line 393:
won = ""
myrow, mycol = 1, 1
function update!()
for i in 1:rows, j in 1:cols
Line 400 ⟶ 399:
end
set_gtk_property!(buttons[myrow, mycol], :label, "@")
won = all(iszero, board) ? "WINNING" : ""
set_gtk_property!(win, :title, "$won Greed Game (Score: $score)")
end
|