-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
53 lines (46 loc) · 1.05 KB
/
config.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- encoding: utf-8 -*-
PIECE1 = 'p1.png'
PIECE2 = 'p2.png'
TABLE = 'table.png'
WINDOW_TITLE = 'Another Checkers Game - beta'
WINDOW_SIZE = (640, 480)
MOTION_STEPS = 4.0
MENU_IMAGE = "ima/menu.png"
MENU_FONT = "font/DejaVuSans.ttf"
MENU_FONT_SIZE = 18
KEY_SOUND = "sounds/tecla.wav"
PIECE_POSITIONS = {
(0,1) : (59, 46),
(0,3) : (159, 46),
(0,5) : (259, 46),
(0,7) : (359, 46),
(1,0) : (9, 96),
(1,2) : (109, 96),
(1,4) : (209, 96),
(1,6) : (309, 96),
(2,1) : (59, 146),
(2,3) : (159, 146),
(2,5) : (259, 146),
(2,7) : (359, 146),
(3,0) : (9, 196),
(3,2) : (109, 196),
(3,4) : (209, 196),
(3,6) : (309, 196),
(4,1) : (59, 246),
(4,3) : (159, 246),
(4,5) : (259, 246),
(4,7) : (359, 246),
(5,0) : (9, 296),
(5,2) : (109, 296),
(5,4) : (209, 296),
(5,6) : (309, 296),
(6,1) : (59, 346),
(6,3) : (159, 346),
(6,5) : (259, 346),
(6,7) : (359, 346),
(7,0) : (9, 396),
(7,2) : (109, 396),
(7,4) : (209, 396),
(7,6) : (309, 396)
}
show_tips = True