-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.html
94 lines (89 loc) · 14.8 KB
/
game.html
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
<!doctype html>
<html>
<head>
<title>InetrAct Game area</title>
<link rel="stylesheet" href="build/game.css" type="text/css">
<!-- Change with src to link to server, where the server should generate
the appropriate values, please use the same syntax and content type
text/javascript
-->
<script>
// Settings
// We need to know the user name (i.e. who we are)
// For now username will do, but we actually need to know more for the components
USER_NAME = 'Peter StJ';
LOGOUT_LINK = 'whatever';
PLAYER_NAME = 'PLAYER1';
TEAM_NAME = 'TEAM1';
UPLOAD_ATTACHMENT_LINK = '/InterACT/Messages/uploadAttachments';
// milliseconds
UPDATE_INTERVAL_BOXLIST = 60000;
UPDATE_INTERVAL_MAILIST = 5000;
UPDATE_INTERVAL_MEETINGLIST = 60000;
TIMEPROVIDER_UPDATE_INTERVAL = 10000;
// UPLOAD_SCENARIO = '/InterACT/games/upload';
// UPLOAD_TEAMS = '/InterACT/games/uploadPlayers';
// FINISHED_GAME_STATS_URL = '/whateverYouWant/'; // + the game id will be appended
</script>
<script src="/InterACT/serverTime"></script>
<script src="/InterACT/recipients"></script>
<!-- Change with src to point to the server and return similar content:
can_use_tags means the user will see tags in mail preview
can_set_from means the user will see the from field in composed
-->
<script>
SETUP = {
can_use_tags: true,
can_set_from: true,
is_control_user: true
}
</script>
<!-- Change this to point to a src that the server can understand and return similar content with content type = text/javascript -->
<script>
TEMPLATES = {
actionrequest: {
to:[],
from:[PLAYER_NAME],
body:'<p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><u><b>Description of Action</b></u></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Describe the problem, the proposed action, the intended objective it should achieve, and provide at least three reasons why this course of action is necessary.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Problem with Status Quo:</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><a name="_GoBack"></a><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Proposed Action:</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Objective:</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Reasons:</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>1.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>2.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>3.</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>What are the (potential) gains of pursuing this action, describe in both short and long term:</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>What are the (potential) risks of pursuing this action, describe in both short and long term:</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><u><b>Alternative Courses of Action</b></u></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Identify and list at least 3 other courses of action that could be taken to achieve a similar result:</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>1.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>2.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>3.</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><u><b>Justification of Action</b></u></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Against the alternative courses of action identified above, provide the rationale supporting why the proposed action is the optimal choice and explain why the (potential) gains outweigh the (potential) risks:</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Describe the likely outcome of this action and plausibility of its desired effect:</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Identify how this action will affect your relations with others in terms of:</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Politics:</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Military:</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Economics and Trade:</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Social:</b></font></font></p>'
},
intelligence: {
to: ["Intelligence"],
from: [PLAYER_NAME],
body: '<p style="margin-bottom: 0in"></p><p style="margin-bottom: 0in"><b style="font-size: 11pt; font-family: Arial, serif; ">Intelligence Request:</b><br></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Briefly describe the reason(s) why this information is useful and what you hope to achieve with it:</b></font></font></p><p></p>'
},
meeting: {
to: [""],
body: '<p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>The Chairperson is responsible for producing the Meeting Report and submitting the finalized text. Failure to submit the Meeting Report in a timely manner will impact your ability to hold future meetings.</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="4"><b>Attendees</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Please list the names of attendees invited for this meeting:</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>1.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>2.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>3.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>4.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>5.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>6.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>7.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>8.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>9.</b></font></font></p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>10.</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="4"><b>Agenda </b></font></font> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>Briefly describe the topics to be discussed during this meeting:</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>1.</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>2.</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>3.</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>4.</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>5.</b></font></font></p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><br> </p> <p style="margin-bottom: 0in"><font face="Arial, serif"><font size="2" style="font-size: 11pt"><b>6. </b></font></font> </p>',
web_form: null,
web_form_config: 0
},
press: {
to: ["WorldPress"],
from: [PLAYER_NAME],
body: "Your press request:",
web_form: null,
web_form_config: null
},
meetingreport: {
to: [],
from: [],
body: '<p style="margin-bottom: 0in"></p><p style="margin-bottom: 0in"></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>The Chairperson is responsible for producing the Meeting Report and submitting the finalized text. Failure to submit the Meeting Report in a timely manner will impact your ability to hold future meetings.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="4"><b>Attendees</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>Please list the names of attendees who participated in this meeting:</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>1.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>2.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>3.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>4.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>5.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>6.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>7.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>8.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>9.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>10.</b></font></font></p><p style="margin-bottom: 0in; "><br></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="4"><b>Agenda & Agreements</b></font></font></p><p style="margin-bottom: 0in; "><a name="_GoBack"></a><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>Briefly describe the issues discussed during this meeting, including any additional topics covered, and specify what policy decisions were reached (or not reached) in each case. Star (*) the topic opposite its number if the decision is likely to change the status quo as defined in the scenario (e.g. 3. *):</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>1.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>2.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>3.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>4.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>5.</b></font></font></p><p style="margin-bottom: 0in; "><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b>6.</b></font></font></p><div><font face="Arial, serif"><font size="2" style="font-size: 11pt; "><b><br></b></font></font></div><p></p><p></p>'
},
team: {
from: [TEAM_NAME],
body: "This is message from my team:..."
}
}
</script>
</head>
<body>
<div id="screen" class="gamearena"></div>
<!--
<script src="build/game-cssmap.js"></script>
<script src="../../library/closure/goog/base.js"></script>
<script src="build/deps.js"></script>
<script>goog.require('game');</script>
-->
<script src="build/game.build.js"></script>
</body>
</html>