Game Code
What is the most well written computer game code you have ever come across. Post its name and a url to find it.
i wrote this in oot, it rocks
Try and guess what it does
var xy : int := 10var yx : int := 10var xx1 : int := 1var the_number : stringvar streamNumber : intopen : streamNumber, "h:/map01.map", getvar lineNumber := 0var line : stringvar win : int := Window.Open ("graphics:260;260,title:Bob''s Crappy Ass Adventure")setscreen ("nocursor")for xx : 1 .. 576 exit when eof (streamNumber) get : streamNumber, line : * the_number := line (1 .. xx1) Pic.ScreenLoad ("h:/tile" + the_number + ".bmp", xy, yx, picCopy) xy := xy + 10 if xy = 250 then lineNumber := lineNumber + 1 yx := yx + 10 xy := 10 end ifend for
Try and guess what it does
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement