-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInput.oz
102 lines (87 loc) · 2.18 KB
/
Input.oz
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
functor
export
isTurnByTurn:IsTurnByTurn
nRow:NRow
nColumn:NColumn
map:Map
respawnTimePoint:RespawnTimePoint
respawnTimeBonus:RespawnTimeBonus
respawnTimePacman:RespawnTimePacman
respawnTimeGhost:RespawnTimeGhost
rewardPoint:RewardPoint
rewardKill:RewardKill
penalityKill:PenalityKill
nbLives:NbLives
huntTime:HuntTime
nbPacman:NbPacman
pacman:Pacman
colorPacman:ColorPacman
nbGhost:NbGhost
ghost:Ghost
colorGhost:ColorGhost
thinkMin:ThinkMin
thinkMax:ThinkMax
define
IsTurnByTurn
NRow
NColumn
Map
RespawnTimePoint
RespawnTimeBonus
RespawnTimePacman
RespawnTimeGhost
RewardPoint
RewardKill
PenalityKill
NbLives
HuntTime
NbPacman
Pacman
ColorPacman
NbGhost
Ghost
ColorGhost
ThinkMin
ThinkMax
in
%%%% Style of game %%%%
IsTurnByTurn = false
%%%% Description of the map %%%%
NRow = 11
NColumn = 20
Map = [[1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1]
[1 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1]
[1 0 1 1 1 1 0 1 0 0 0 1 0 1 0 0 0 1 0 1]
[1 0 1 4 0 0 0 1 3 0 3 1 0 1 1 0 0 1 0 1]
[1 0 1 0 0 0 0 1 0 0 0 1 0 1 4 0 0 1 0 1]
[0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0]
[1 0 1 0 0 0 0 1 0 0 0 1 0 1 0 0 4 1 0 1]
[1 0 1 0 0 0 0 1 3 0 3 1 0 1 0 0 1 1 0 1]
[1 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 1 0 1]
[1 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1]
[1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1]]
%%%% Respawn times %%%%
RespawnTimePoint = 5000 %50
RespawnTimeBonus = 15000 %150
RespawnTimePacman = 5000 %50
RespawnTimeGhost = 5000 %50
%%%% Rewards and penalities %%%%
RewardPoint = 1
RewardKill = 5
PenalityKill = 5
%%%%
NbLives = 2
HuntTime = 5000 %50
%%%% Players description %%%%
NbPacman = 2
Pacman = [ghost065intel ghost018hunter]
ColorPacman = [yellow red]
NbGhost = 2
Ghost = [pacman065random pacman018riseleft]
% pacman000random ghost000random pacman065random ghost065intel pacman018riseleft ghost018hunter pacman092intel ghost092random
% pacman063other ghost063other
ColorGhost = [green white]% orange white]
%%%% Thinking parameters (only in simultaneous) %%%%
ThinkMin = 500
ThinkMax = 1500
end