-
Notifications
You must be signed in to change notification settings - Fork 0
/
const.py
24 lines (24 loc) · 1.04 KB
/
const.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import numpy as np
from numpy.random import *
import random
SCR_X = int(750)
SCR_y = int(500)
CS = 60
storn_position = np.asarray([[0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0],
[0,0,0,2,1,0,0,0],
[0,0,0,1,2,0,0,0],
[0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0]])
seed(1)
value_storn = randint(-50,50,(8,8))
# value_storn = np.asarray([[ 50,-20, 30, 30, 30, 30,-20, 50],
# [-20,-20,-10,-10,-10,-10,-20,-20],
# [ 30,-10, 40, 40, 40, 40,-10, 30],
# [ 30,-10, 40, 10, 10, 40,-10, 30],
# [ 30,-10, 40, 10, 10, 40,-10, 30],
# [ 30,-10, 40, 40, 40, 40,-10, 30],
# [-20,-20,-10,-10,-10,-10,-20,-20],
# [ 50,-20, 30, 30, 30, 30,-20, 50]])