User:Eriksiers/Maze generation: Difference between revisions

m
m (→‎Text: changed lang tag to new format)
m (→‎Graphical: dangit)
 
Line 127:
This is a graphical variation of the above. It uses white for floors and black for walls. FreeBASIC is required due to how I write the results to the image file. (This works under QBasic aside from the very last line. Changing that would let it work under any QB-alike.)
 
<langsyntaxhighlight lang="qbasic">OPTION BASE 1
 
CONST scrW = 400
Line 178:
LOOP
 
BSAVE "maze.bmp", 0</langsyntaxhighlight>
1,150

edits