Bulls and cows/Player: Difference between revisions
Content added Content deleted
Line 1,370: | Line 1,370: | ||
end fn |
end fn |
||
local fn growWindow |
void local fn growWindow |
||
CGRect r = fn WindowContentRect( 1 ) |
CGRect r = fn WindowContentRect( 1 ) |
||
r.size.height += 32 |
r.size.height += 32 |
||
Line 1,377: | Line 1,377: | ||
end fn |
end fn |
||
local fn init //Create array of possible 4-digit numbers |
void local fn init //Create array of possible 4-digit numbers |
||
uint8 d1,d2,d3,d4 |
uint8 d1,d2,d3,d4 |
||
for d1 = 1 to 9 |
for d1 = 1 to 9 |