-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
498 lines (437 loc) · 17.4 KB
/
index.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Rita Process Game</title>
<style>
body {
font-family: "Helvetica Neue", HelveticaNeue, Helvetica, sans-serif;
font-size: 90%;
background: #d9f6ff;
}
* {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
a:link {
text-decoration: none;
color: #0000FF;
}
a:active {
text-decoration: none;
color: #0000FF;
}
a:visited {
text-decoration: none;
color: #0000FF;
}
a:hover {
text-decoration: underline;
color: #0000FF;
}
li {
list-style-type: none;
border: solid 1px gray;
margin: 0 4px 1px -11px;
padding: 5px 10px;
font-size: 13px;
cursor: move;
background: #E7E7E7;
}
li:hover {
background: #FFF;
}
ul {
padding-left: 1em;
margin-left: 0em;
}
.pane ul {
margin-bottom: 4px;
}
li span {
font-weight: bold;
font-size: 105%;
}
.unmovable {
list-style-type: none;
font-size: 1px;
padding: 0px;
margin: 0px;
border: none;
}
div {
float: left;
background: #DCDCDC;
margin-right: 5px;
width: 130px;
border: 1px solid #333;
margin-bottom: 20px;
}
.containerTitle {
display: block;
font-size: 16px;
font-weight: bold;
padding: 7px 5px;
text-align: center;
}
#mixed {
background: #CCC;
width: 255px;
margin-right: 30px;
}
small {
background: wheat none repeat scroll 0 0;
border: 1px solid gray;
display: block;
font-size: 13px;
margin: 7px 0;
padding: 6px;
}
#newVersion {
background: lightGreen none repeat scroll 0 0;
border: 1px solid green;
color: green;
display: block;
font-weight: bold;
margin-bottom: 7px;
margin-top: -14px;
padding: 8px 0;
text-align: center;
width: 100%;
font-size: 10px;
}
#hide {
display: block;
float: left;
font-size: 14px;
height: 27px;
margin-right: 7px;
padding-right: 5px;
}
h1 {
font-size: 20px;
margin-bottom: -2px;
}
h1 span {
font-size: 10px;
}
a#fdbk_tab:hover {
width: 38px !important;
}
a#fdbk_tab {
background-image: url(feedback_trans_tab.png);
color: #FFFFFF;
cursor: pointer;
height: 102px;
left: 0;
margin-left: -7px;
overflow: hidden;
position: fixed;
text-indent: -100000px;
top: 50%;
width: 42px;
z-index: 100000;
}
a.fdbk_tab_right {
left: auto !important;
margin-left: auto !important;
margin-right: 0 !important;
right: 0 !important;
width: 35px !important;
color: #669517;
outline-color: -moz-use-text-color;
outline-style: none;
outline-width: medium;
text-decoration: none;
}
</style>
<script type="text/javascript" src="js/jquery-1.2.1.js"></script>
<script type="text/javascript" src="js/ui.sortable.js"></script>
<script type="text/javascript" src="js/jquery.ui.touch-punch.js"></script>
</head>
<body>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="QPZ2Q3C8L63YN">
<div style="position:absolute;top:2px;right:5px;width:380px;text-align:right;float:left;border:0;background:none;font-size:11px;">Buy me a cup of coffee if you like this game</div>
<input style="position:absolute;top:17px;right:5px" type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donate_SM.gif"
border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
<h1 align="center"> Rita's Process Game [UNOFFICIAL - only for educational purpose]
<sup style="font-size:8px;"> v1.2</sup>
<br />
<span>
Based to Rita Mulcahy's PMP Exam Prep
<b>Ninth</b> Edition
</span>
</h1>
<hr />
<small>
<a id="hide" href="#">Hide</a>
<strong>How to play?</strong> Just drag any item from 'mixed' list and drop it just under its appropriate heading. After you finish,
go and check ur result. For best results use any browser other than Internet Explorer.
<br />
<strong>Download:</strong> Please
<a href="rita_proccess_game.zip">click here</a> to download this game. Unzip it anywhere in your computer and open 'index.htm'
<br />
</small>
»
<a href="index.html" id="new">Start new game</a> »
<a href="#" id="shu">Shuffle the 'Mixed' list</a> »
<a href="#" id="planning">Planning processes ordering test</a>
<span>»</span>
<a href="#" id="result">Show results</a>
<hr />
<ul id="masterList">
<div id="mixed">
<span class="containerTitle">Mixed</span>
<ul id="0">
<li id="1" value="101">Select project manager</li>
<li id="1" value="102">Determine company culture & existing systems</li>
<li id="1" value="103">Collect processes, procedures, & historical information</li>
<li id="1" value="104">Divide large projects into phases or smaller projects</li>
<li id="1" value="105">Understand business case & benefits management plan</li>
<li id="1" value="106">Uncover initial requirements, assumptions, risks, constraints & existing agreements</li>
<li id="1" value="107">Assess project & product feasibility within the given constraints</li>
<li id="1" value="108">Create measurable objectives & success criteria</li>
<li id="1" value="109">Develop project charter</li>
<li id="1" value="110">Identify stakeholders & determine their expectations, interest, influence, & impact</li>
<li id="1" value="111">Request changes (1)</li>
<li id="1" value="112">Develop assumption log</li>
<li id="1" value="113">Develop stakeholder register</li>
<li id="2" value="201">Determine development approach, life cycle, & how you will plan for each knowledge area</li>
<li id="2" value="202">Define & prioritize requirements</li>
<li id="2" value="203">Create project scope statement</li>
<li id="2" value="204">Assess what to purchase & create procurement documents</li>
<li id="2" value="205">Determine planning team</li>
<li id="2" value="206">Create WBS & WBS dictionary</li>
<li id="2" value="207">Create activity list</li>
<li id="2" value="208">Create network diagram</li>
<li id="2" value="209">Estimate resource requirements</li>
<li id="2" value="210">Estimate activity durations & costs</li>
<li id="2" value="211">Determine critical path</li>
<li id="2" value="212">Develop schedule</li>
<li id="2" value="213">Develop budget</li>
<li id="2" value="214">Determine quality standards, processes, & metrics</li>
<li id="2" value="215">Determine team charter & all roles & responsibilities</li>
<li id="2" value="216">Plan communications & stakeholder engagement</li>
<li id="2" value="217">Perform risk identification, qualitative & quantitative risk analysis, & risk response planning</li>
<li id="2" value="218">Go back - iterations</li>
<li id="2" value="219">Finalize procurement strategy & documents</li>
<li id="2" value="220">Create change & configuration management plans</li>
<li id="2" value="221">Finalize all management plans</li>
<li id="2" value="222">Develop realistic & sufficient project management plan & baselines</li>
<li id="2" value="223">Gain formal approval of the plan</li>
<li id="2" value="224">Hold kickoff meeting</li>
<li id="2" value="225">Request changes (2)</li>
<li id="3" value="301">Execute work according to the project management plan</li>
<li id="3" value="302">Produce product deliverables (product scope)</li>
<li id="3" value="303">Gather work performance data</li>
<li id="3" value="304">Request changes (3)</li>
<li id="3" value="305">Implement only approved changes</li>
<li id="3" value="306">Continuously improve, perform progressive elaboration</li>
<li id="3" value="307">Follow processes</li>
<li id="3" value="308">Determine whether quality plan & processes are correct & effective</li>
<li id="3" value="309">Perform quality audits & issue quality report</li>
<li id="3" value="310">Acquire final team & physical resources</li>
<li id="3" value="311">Manage people</li>
<li id="3" value="312">Evaluate team & individual performance; provide training</li>
<li id="3" value="313">Hold team-building activities</li>
<li id="3" value="314">Give recognition & rewards</li>
<li id="3" value="315">Use issue logs</li>
<li id="3" value="316">Facilitate conflict resolution</li>
<li id="3" value="317">Release resources as work is completed</li>
<li id="3" value="318">Send & receive information & solicit feedback</li>
<li id="3" value="319">Report on project performance</li>
<li id="3" value="320">Facilitate stakeholder engagement & manage expectations</li>
<li id="3" value="321">Hold meetings</li>
<li id="3" value="322">Evaluate sellers, negotiate & contract with sellers</li>
<li id="3" value="323">Use & share project knowledge</li>
<li id="3" value="324">Execute contingency plans</li>
<li id="3" value="325">Update project management plan & project doc
<li id="4" value="401">Take action to monitor & control the project</li>
<li id="4" value="402">Measure performance against performance measurement baseline</li>
<li id="4" value="403">Measure performance against other metrics in the project management plan</li>
<li id="4" value="404">Analyze & evaluate data & performance</li>
<li id="4" value="405">Determine if variances warrant a corrective action or other change request(s)</li>
<li id="4" value="406">Influence factors that cause change </li>
<li id="4" value="407">Request changes (4)</li>
<li id="4" value="408">Perform integrated change control</li>
<li id="4" value="409">Approve or reject changes</li>
<li id="4" value="410">Update project management plan & project documents</li>
<li id="4" value="411">Inform stakeholders of all change request results</li>
<li id="4" value="412">Monitor stakeholder engagement</li>
<li id="4" value="413">Confirm configuration compliance</li>
<li id="4" value="414">Create forecasts</li>
<li id="4" value="415">Gain customer’s acceptance of interim deliverables</li>
<li id="4" value="416">Perform quality control</li>
<li id="4" value="417">Perform risk reviews, reassessments, & audits</li>
<li id="4" value="418">Manage reserves</li>
<li id="4" value="419">Manage, evaluate, & close procurements</li>
<li id="4" value="420">Evaluate use of physical resources</li>
<li id="5" value="501">Confirm work is done to requirements</li>
<li id="5" value="502">Complete final procurement closure</li>
<li id="5" value="503">Gain final acceptance of product</li>
<li id="5" value="504">Complete financial closure</li>
<li id="5" value="505">Hand off completed project</li>
<li id="5" value="506">Solicit customer’s feedback about the project</li>
<li id="5" value="507">Complete final performance reporting</li>
<li id="5" value="508">Index & archive records</li>
<li id="5" value="509">Gather final lessons learned & update knowledge bases</li>
</ul>
</div>
<div class="pane">
<span class="containerTitle">Initiating</span>
<ul id="1">
<li class="unmovable"></li>
</ul>
</div>
<div class="pane">
<span class="containerTitle">Planning</span>
<ul id="2" class="planning">
<li class="unmovable"></li>
</ul>
</div>
<div class="pane">
<span class="containerTitle">Executing</span>
<ul id="3">
<li class="unmovable"></li>
</ul>
</div>
<div style="width:230px" class="pane">
<span class="containerTitle">Monitoring and Controlling</span>
<ul id="4">
<li class="unmovable"></li>
</ul>
</div>
<div class="pane">
<span class="containerTitle">Closing</span>
<ul id="5">
<li class="unmovable"></li>
</ul>
</div>
</li>
</ul>
<script type="text/javascript">
var totalItems = $('#0 li').length;
//Shuffle the list
$('#0').shuffle();
$('#shu').click(function () {
$('#0').shuffle();
$("#masterList").sortable({ items: "li", handle: '.containerTitle', opacity: 0.6, helper: 'clone', forcePlaceholderSize: true, forceHelperSize: true });
return false;
});
//Planning processes ordering test
$('#planning').click(function () {
//first trigger new game
$('#new').trigger('click').replaceWith("<a href='index.html'>Start new game</a>");
$('#result').replaceWith("<a href='#' id='seq' style='color:#C60'>Show sequence errors and hints to fix them</a>");
$('#shu').replaceWith("<a href='#' id='shuPla'>Shuffle the 'Planning' list</a>");
$('#shuPla').click(function () {
$('.planning').shuffle();
$(".planning").sortable({ items: "li", handle: '.containerTitle', opacity: 0.6, helper: 'clone', forcePlaceholderSize: true, forceHelperSize: true });
return false;
});
//Show sequence of planning items
$('#seq').click(function () {
$('.unmovable').remove();
i = 201;
n = 1;
$('.pane ul').find('li').each(function () {
$(this).attr('rel', i);
i++;
});
$('.pane ul').find('li').each(function () {
if (parseInt($(this).attr('rel')) != parseInt($(this).attr('value'))) {
var updown = '';
if (parseInt($(this).attr('rel')) > parseInt($(this).attr('value')))
updown = parseInt($(this).attr('rel')) - parseInt($(this).attr('value')) + " steps UP ↑";
else
updown = parseInt($(this).attr('value')) - parseInt($(this).attr('rel')) + " steps DOWN ↓";
$(this).find('.bullet').remove();
$(this).html("<span class=bullet>" + updown + " - </span>" + $(this).html()).css('background', '#C60');
}
else {
$(this).find('.bullet').remove();
$(this).html("<span class=bullet>" + n + " - </span>" + $(this).html()).css('background', '#E7E7E7');
}
n++;
});
return false;
});
//From everything from mixed but leave planning
$('#0').find('li').each(function () {
if ($(this).attr('id') != '2') $(this).remove();//remove all others
});
//shift planning list from mixed to planning
$('.planning').append($('#0').html());
//Shuffle planning list
$('.planning').shuffle().parent().css({ "width": "500px", "margin": "0 auto", "position": "absolute", "left": "32%" });
$(".planning").sortable({ items: "li", handle: '.containerTitle', opacity: 0.6, helper: 'clone', forcePlaceholderSize: true, forceHelperSize: true });
//Remove all other panels and just leave the planning panel for eazy sorting
$('#masterList').find('ul').each(function () {
if (!$(this).hasClass('planning')) $(this).parent().remove();
});
return false;
});
$('#new').click(function () {
if (!confirm('Are you sure you want to start a new game?')) return false;
var list = '';
$('.pane').each(function () {
list += $(this).find('ul').html();
$(this).find('ul').html("<li class='unmovable'></li>");
});
$('#0').append(list).shuffle();
$('#0').find('.correct').each(function () {
$(this).parent().css('background', '#E7E7E7');
$(this).remove();
});
$('#r').remove();
$("#masterList").sortable({ items: "li", handle: '.containerTitle', opacity: 0.6, helper: 'clone', forcePlaceholderSize: true, forceHelperSize: true });
return false;
});
//Make all <li> items in the list sortable using the jQuery UI Sortables code
$("#masterList").sortable({ items: "li", handle: '.containerTitle', opacity: 0.6, helper: 'clone', forcePlaceholderSize: true, forceHelperSize: true });
$(".containerTitle").mousedown(function () { alert('You cannot move main heading!'); });
$('#hide,#hide1').click(function () { $(this).parent().slideUp('slow'); return false; });
$('#result').click(
function () {
if ($('#0').find('li').length == totalItems) {
alert('No results found.');
return false;
//if (!confirm('Are you sure you want to check the results\nbefore you complete the game?')) return false;
}
var wrong = 0;
var total = 0;
$("#masterList").find('li').each(function () {
//Check the result
if ($(this).attr('id') != $(this).parent().attr('id') && $(this).parent().attr('id') != '0' && $(this).attr('class') != 'unmovable') {
$(this).css("background", "#FF7774");
wrong += 1;
var correctHeading = '';
var currentId = $(this).attr('id');
$("#masterList").find('ul').each(function () {
if ($(this).attr('id') == currentId)
correctHeading = $(this).parent().find('.containerTitle').html();
});
$(this).find('.correct').remove();
$(this).append("<span class='correct' style='display:block;padding-top:3px;margin-top:3px;border-top: 1px dotted #ff0000;'><strong>Should be under:<br> \"" + correctHeading + "\"</strong></span>");
}
//attmpted
if ($(this).parent().attr('id') != '0' && $(this).attr('class') != 'unmovable') total += 1;
});
$('#r').remove();
if (total > 0) {
var string = "<span id='r'> ( Total: <strong>" + totalItems + "</strong> | Attempted: <strong>";
string += total + "</strong> | Result: <strong>" + parseInt(total - wrong) + "</strong> out of <strong>";
string += total + "</strong> | <strong>";
string += parseInt((total - wrong) * 100 / total);
string += "%</strong>)</span>";
$(this).after(string);
}
return false;
});
</script>
</body>
</html>