Advertisement
Iire

Random Tileset Generator

Aug 9th, 2011
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. import random
  2.  
  3. def rtiles():
  4.     x = ''
  5.     for i in range(1,713):
  6.         if random.randint(0,6) in range(1,5):x = x + '0'
  7.         else:x = x + chr(random.randint(48,81))
  8.     print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement