Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  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())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement