1) The code doesn't work. It just shows one line of tiles, all the same. Because there is "NoOfTiles" and "NumberOfTiles", while the latter is 0, and because there is a variable "loop" in "DrawTiles()", which isn't used. It should be "y" instead. EDIT: Okay, this works now. =)
2) NumberOfTiles should be _really_ the number of tiles, so the name isn't just confusing. Same goes for MapWidth and MapHeight. Use "MapWidth-1" later instead.
3) The program hasn't any abort condition. ("game" is always True)
2) NumberOfTiles should be _really_ the number of tiles, so the name isn't just confusing. Same goes for MapWidth and MapHeight. Use "MapWidth-1" later instead.
3) The program hasn't any abort condition. ("game" is always True)