-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
50 lines (34 loc) · 1.57 KB
/
Makefile
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
SERVER=localhost
PORT=16713
all: ser obs
ser:
cd "${HOME}/.wine/drive_c/Program Files/daide/aiserver" && wine AiServer.exe -start &
obs:
cd UserClient && make run &
random6:
cd AI/dist/build/randombot && zsh -c 'for i in {1..6} ; do ./randombot localhost 16713 &> outp.$$i & ; done'
random7:
cd AI/dist/build/randombot && zsh -c 'for i in {1..7} ; do ./randombot $(SERVER) $(PORT) &> outp.$$i & ; done'
holdrandom:
cd AI/dist/build/randombot && ./randombot $(SERVER) $(PORT) &
cd AI/dist/build/holdbot && zsh -c 'for i in {1..6} ; do ./holdbot $(SERVER) $(PORT) &> outp.$$i & ; done'
hold6:
cd AI/dist/build/holdbot && zsh -c 'for i in {1..6} ; do ./holdbot $(SERVER) $(PORT) &> outp.$$i & ; done'
viewerr:
cd AI/dist/build/randombot && emacs outp.*
dumb:
cd AI/dist/build/dumbbot && zsh -c './dumbbot $(SERVER) $(PORT) +RTS -p &'
dumb6:
cd AI/dist/build/dumbbot && zsh -c 'for i in {1..6} ; do ./dumbbot localhost 16713 +RTS -p &> outp.$$i & ; done'
learn7:
cd AI/dist/build/learnbot && zsh -c 'for i in {1..7} ; do ./learnbot $(SERVER) $(PORT) &> outp.$$i & ; done'
learn:
cd AI/dist/build/learnbot && zsh -c './learnbot $(SERVER) $(PORT) &'
debug:
cd AI/Diplomacy/AI/Bots/DumbBot && ghci dumbbot.hs -fbreak-on-exception
cover:
cd AI/dist/build/coverbot && zsh -c './coverbot $(SERVER) $(PORT) &> outp &'
noredir:
cd AI/dist/build/holdbot && zsh -c 'for i in {1..6} ; do ./holdbot $(SERVER) $(PORT) &> outp.$$i & ; done' && ./holdbot $(SERVER) $(PORT)
dumb7:
cd AI/dist/build/dumbbot && zsh -c 'for i in {1..7} ; do ./dumbbot $(SERVER) $(PORT) +RTS -p &> outp.$$i & ; done'