-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathmakefile
More file actions
39 lines (32 loc) · 710 Bytes
/
Copy pathmakefile
File metadata and controls
39 lines (32 loc) · 710 Bytes
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
#-*- coding:utf-8 -*-
unittest:
python srcs/snake_game.py
python srcs/game_controller.py
python srcs/ailib.py
# run the game server
game:
python srcs/zmq_game_server.py local
webgame:
python srcs/zmq_game_server.py web
# run the website
website:
cd rubyweb; bundle exec rails server -p 2000
# run http interface server
http:
cd srcs; python web_server.py
# run a test ai
ai:
python examples/ai_halida.py zero 0
# run lots of test ai
ais:
python examples/ai_halida.py zero 0 4
# pygame show local game
pygame:
python srcs/pygame_show.py
show:
python srcs/zmq_pygame_show.py 0
# record/replay log
record:
python srcs/zmq_logger.py zero 0 test.log
replay:
python srcs/zmq_replayer.py test.log