Munching squares: Difference between revisions

→‎{{header|PureBasic}}: Resized picture sample
(→‎{{header|PHP}}: Added PureBasic)
(→‎{{header|PureBasic}}: Resized picture sample)
Line 240:
[[File:xor_pattern_php.png|PHP output|200px]]
=={{header|PureBasic}}==
[[File:PureBasic_XOR_Pattern.png|thumb|Sample display of PureBasic solution]]
<lang purebasic>#palletteSize = 128
Procedure.f XorPattern(x, y) ;compute the gradient value from the pixel values
Line 267 ⟶ 266:
Until event = #PB_Event_CloseWindow
EndIf</lang>
[[File:PureBasic_XOR_Pattern.png|thumb|Sample display of PureBasic solution|200px]]
 
=={{header|Tcl}}==
Anonymous user