SHARE
TWEET

Untitled

a guest Oct 13th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import numpy as np
  2.  
  3.  
  4. def getNoneHQCells():
  5.     game_width = 50
  6.     game_height = 100
  7.     array_widht = [(np.arange(1, game_width, 1))]
  8.     array_height = [(np.arange(1, game_height, 1))]
  9.     X, Y = np.meshgrid(array_widht, array_height)
  10.     XY = np.array([X.flatten(), Y.flatten()]).T
  11.     return XY
  12.  
  13.  
  14. if __name__ == '__main__':
  15.     print(getNoneHQCells())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top