forked from PuttingTheDnDInTDD/EverCraft-Kata
-
Notifications
You must be signed in to change notification settings - Fork 3
/
README.html
903 lines (901 loc) · 38.2 KB
/
README.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
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>README</title>
<style>.markdown-preview:not([data-use-github-style]) { padding: 2em; font-size: 1.2em; color: rgb(171, 178, 191); overflow: auto; background-color: rgb(40, 44, 52); }
.markdown-preview:not([data-use-github-style]) > :first-child { margin-top: 0px; }
.markdown-preview:not([data-use-github-style]) h1, .markdown-preview:not([data-use-github-style]) h2, .markdown-preview:not([data-use-github-style]) h3, .markdown-preview:not([data-use-github-style]) h4, .markdown-preview:not([data-use-github-style]) h5, .markdown-preview:not([data-use-github-style]) h6 { line-height: 1.2; margin-top: 1.5em; margin-bottom: 0.5em; color: rgb(255, 255, 255); }
.markdown-preview:not([data-use-github-style]) h1 { font-size: 2.4em; font-weight: 300; }
.markdown-preview:not([data-use-github-style]) h2 { font-size: 1.8em; font-weight: 400; }
.markdown-preview:not([data-use-github-style]) h3 { font-size: 1.5em; font-weight: 500; }
.markdown-preview:not([data-use-github-style]) h4 { font-size: 1.2em; font-weight: 600; }
.markdown-preview:not([data-use-github-style]) h5 { font-size: 1.1em; font-weight: 600; }
.markdown-preview:not([data-use-github-style]) h6 { font-size: 1em; font-weight: 600; }
.markdown-preview:not([data-use-github-style]) strong { color: rgb(255, 255, 255); }
.markdown-preview:not([data-use-github-style]) del { color: rgb(124, 135, 156); }
.markdown-preview:not([data-use-github-style]) a, .markdown-preview:not([data-use-github-style]) a code { color: rgb(82, 139, 255); }
.markdown-preview:not([data-use-github-style]) img { max-width: 100%; }
.markdown-preview:not([data-use-github-style]) > p { margin-top: 0px; margin-bottom: 1.5em; }
.markdown-preview:not([data-use-github-style]) > ul, .markdown-preview:not([data-use-github-style]) > ol { margin-bottom: 1.5em; }
.markdown-preview:not([data-use-github-style]) blockquote { margin: 1.5em 0px; font-size: inherit; color: rgb(124, 135, 156); border-color: rgb(75, 83, 98); border-width: 4px; }
.markdown-preview:not([data-use-github-style]) hr { margin: 3em 0px; border-top-width: 2px; border-top-style: dashed; border-top-color: rgb(75, 83, 98); background: none; }
.markdown-preview:not([data-use-github-style]) table { margin: 1.5em 0px; }
.markdown-preview:not([data-use-github-style]) th { color: rgb(255, 255, 255); }
.markdown-preview:not([data-use-github-style]) th, .markdown-preview:not([data-use-github-style]) td { padding: 0.66em 1em; border: 1px solid rgb(75, 83, 98); }
.markdown-preview:not([data-use-github-style]) code { color: rgb(255, 255, 255); background-color: rgb(58, 63, 75); }
.markdown-preview:not([data-use-github-style]) pre.editor-colors { margin: 1.5em 0px; padding: 1em; font-size: 0.92em; border-radius: 3px; background-color: rgb(49, 54, 63); }
.markdown-preview:not([data-use-github-style]) kbd { color: rgb(255, 255, 255); border-width: 1px 1px 2px; border-style: solid; border-color: rgb(75, 83, 98) rgb(75, 83, 98) rgb(62, 68, 81); background-color: rgb(58, 63, 75); }
.markdown-preview[data-use-github-style] { font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; line-height: 1.6; word-wrap: break-word; padding: 30px; font-size: 16px; color: rgb(51, 51, 51); overflow: scroll; background-color: rgb(255, 255, 255); }
.markdown-preview[data-use-github-style] > :first-child { margin-top: 0px !important; }
.markdown-preview[data-use-github-style] > :last-child { margin-bottom: 0px !important; }
.markdown-preview[data-use-github-style] a:not([href]) { color: inherit; text-decoration: none; }
.markdown-preview[data-use-github-style] .absent { color: rgb(204, 0, 0); }
.markdown-preview[data-use-github-style] .anchor { position: absolute; top: 0px; left: 0px; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; }
.markdown-preview[data-use-github-style] .anchor:focus { outline: none; }
.markdown-preview[data-use-github-style] h1, .markdown-preview[data-use-github-style] h2, .markdown-preview[data-use-github-style] h3, .markdown-preview[data-use-github-style] h4, .markdown-preview[data-use-github-style] h5, .markdown-preview[data-use-github-style] h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; }
.markdown-preview[data-use-github-style] h1 .octicon-link, .markdown-preview[data-use-github-style] h2 .octicon-link, .markdown-preview[data-use-github-style] h3 .octicon-link, .markdown-preview[data-use-github-style] h4 .octicon-link, .markdown-preview[data-use-github-style] h5 .octicon-link, .markdown-preview[data-use-github-style] h6 .octicon-link { display: none; color: rgb(0, 0, 0); vertical-align: middle; }
.markdown-preview[data-use-github-style] h1:hover .anchor, .markdown-preview[data-use-github-style] h2:hover .anchor, .markdown-preview[data-use-github-style] h3:hover .anchor, .markdown-preview[data-use-github-style] h4:hover .anchor, .markdown-preview[data-use-github-style] h5:hover .anchor, .markdown-preview[data-use-github-style] h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; }
.markdown-preview[data-use-github-style] h1:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h2:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h3:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h4:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h5:hover .anchor .octicon-link, .markdown-preview[data-use-github-style] h6:hover .anchor .octicon-link { display: inline-block; }
.markdown-preview[data-use-github-style] h1 tt, .markdown-preview[data-use-github-style] h2 tt, .markdown-preview[data-use-github-style] h3 tt, .markdown-preview[data-use-github-style] h4 tt, .markdown-preview[data-use-github-style] h5 tt, .markdown-preview[data-use-github-style] h6 tt, .markdown-preview[data-use-github-style] h1 code, .markdown-preview[data-use-github-style] h2 code, .markdown-preview[data-use-github-style] h3 code, .markdown-preview[data-use-github-style] h4 code, .markdown-preview[data-use-github-style] h5 code, .markdown-preview[data-use-github-style] h6 code { font-size: inherit; }
.markdown-preview[data-use-github-style] h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); }
.markdown-preview[data-use-github-style] h1 .anchor { line-height: 1; }
.markdown-preview[data-use-github-style] h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); }
.markdown-preview[data-use-github-style] h2 .anchor { line-height: 1; }
.markdown-preview[data-use-github-style] h3 { font-size: 1.5em; line-height: 1.43; }
.markdown-preview[data-use-github-style] h3 .anchor { line-height: 1.2; }
.markdown-preview[data-use-github-style] h4 { font-size: 1.25em; }
.markdown-preview[data-use-github-style] h4 .anchor { line-height: 1.2; }
.markdown-preview[data-use-github-style] h5 { font-size: 1em; }
.markdown-preview[data-use-github-style] h5 .anchor { line-height: 1.1; }
.markdown-preview[data-use-github-style] h6 { font-size: 1em; color: rgb(119, 119, 119); }
.markdown-preview[data-use-github-style] h6 .anchor { line-height: 1.1; }
.markdown-preview[data-use-github-style] p, .markdown-preview[data-use-github-style] blockquote, .markdown-preview[data-use-github-style] ul, .markdown-preview[data-use-github-style] ol, .markdown-preview[data-use-github-style] dl, .markdown-preview[data-use-github-style] table, .markdown-preview[data-use-github-style] pre { margin-top: 0px; margin-bottom: 16px; }
.markdown-preview[data-use-github-style] hr { height: 4px; padding: 0px; margin: 16px 0px; border: 0px none; background-color: rgb(231, 231, 231); }
.markdown-preview[data-use-github-style] ul, .markdown-preview[data-use-github-style] ol { padding-left: 2em; }
.markdown-preview[data-use-github-style] ul.no-list, .markdown-preview[data-use-github-style] ol.no-list { padding: 0px; list-style-type: none; }
.markdown-preview[data-use-github-style] ul ul, .markdown-preview[data-use-github-style] ul ol, .markdown-preview[data-use-github-style] ol ol, .markdown-preview[data-use-github-style] ol ul { margin-top: 0px; margin-bottom: 0px; }
.markdown-preview[data-use-github-style] li > p { margin-top: 16px; }
.markdown-preview[data-use-github-style] dl { padding: 0px; }
.markdown-preview[data-use-github-style] dl dt { padding: 0px; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; }
.markdown-preview[data-use-github-style] dl dd { padding: 0px 16px; margin-bottom: 16px; }
.markdown-preview[data-use-github-style] blockquote { padding: 0px 15px; color: rgb(119, 119, 119); border-left-width: 4px; border-left-style: solid; border-left-color: rgb(221, 221, 221); }
.markdown-preview[data-use-github-style] blockquote > :first-child { margin-top: 0px; }
.markdown-preview[data-use-github-style] blockquote > :last-child { margin-bottom: 0px; }
.markdown-preview[data-use-github-style] table { display: block; width: 100%; overflow: auto; word-break: keep-all; }
.markdown-preview[data-use-github-style] table th { font-weight: bold; }
.markdown-preview[data-use-github-style] table th, .markdown-preview[data-use-github-style] table td { padding: 6px 13px; border: 1px solid rgb(221, 221, 221); }
.markdown-preview[data-use-github-style] table tr { border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(255, 255, 255); }
.markdown-preview[data-use-github-style] table tr:nth-child(2n) { background-color: rgb(248, 248, 248); }
.markdown-preview[data-use-github-style] img { max-width: 100%; box-sizing: border-box; }
.markdown-preview[data-use-github-style] .emoji { max-width: none; }
.markdown-preview[data-use-github-style] span.frame { display: block; overflow: hidden; }
.markdown-preview[data-use-github-style] span.frame > span { display: block; float: left; width: auto; padding: 7px; margin: 13px 0px 0px; overflow: hidden; border: 1px solid rgb(221, 221, 221); }
.markdown-preview[data-use-github-style] span.frame span img { display: block; float: left; }
.markdown-preview[data-use-github-style] span.frame span span { display: block; padding: 5px 0px 0px; clear: both; color: rgb(51, 51, 51); }
.markdown-preview[data-use-github-style] span.align-center { display: block; overflow: hidden; clear: both; }
.markdown-preview[data-use-github-style] span.align-center > span { display: block; margin: 13px auto 0px; overflow: hidden; text-align: center; }
.markdown-preview[data-use-github-style] span.align-center span img { margin: 0px auto; text-align: center; }
.markdown-preview[data-use-github-style] span.align-right { display: block; overflow: hidden; clear: both; }
.markdown-preview[data-use-github-style] span.align-right > span { display: block; margin: 13px 0px 0px; overflow: hidden; text-align: right; }
.markdown-preview[data-use-github-style] span.align-right span img { margin: 0px; text-align: right; }
.markdown-preview[data-use-github-style] span.float-left { display: block; float: left; margin-right: 13px; overflow: hidden; }
.markdown-preview[data-use-github-style] span.float-left span { margin: 13px 0px 0px; }
.markdown-preview[data-use-github-style] span.float-right { display: block; float: right; margin-left: 13px; overflow: hidden; }
.markdown-preview[data-use-github-style] span.float-right > span { display: block; margin: 13px auto 0px; overflow: hidden; text-align: right; }
.markdown-preview[data-use-github-style] code, .markdown-preview[data-use-github-style] tt { padding: 0.2em 0px; margin: 0px; font-size: 85%; border-radius: 3px; background-color: rgba(0, 0, 0, 0.0392157); }
.markdown-preview[data-use-github-style] code::before, .markdown-preview[data-use-github-style] tt::before, .markdown-preview[data-use-github-style] code::after, .markdown-preview[data-use-github-style] tt::after { letter-spacing: -0.2em; content: " "; }
.markdown-preview[data-use-github-style] code br, .markdown-preview[data-use-github-style] tt br { display: none; }
.markdown-preview[data-use-github-style] del code { text-decoration: inherit; }
.markdown-preview[data-use-github-style] pre > code { padding: 0px; margin: 0px; font-size: 100%; word-break: normal; white-space: pre; border: 0px; background: transparent; }
.markdown-preview[data-use-github-style] .highlight { margin-bottom: 16px; }
.markdown-preview[data-use-github-style] .highlight pre, .markdown-preview[data-use-github-style] pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; border-radius: 3px; background-color: rgb(247, 247, 247); }
.markdown-preview[data-use-github-style] .highlight pre { margin-bottom: 0px; word-break: normal; }
.markdown-preview[data-use-github-style] pre { word-wrap: normal; }
.markdown-preview[data-use-github-style] pre code, .markdown-preview[data-use-github-style] pre tt { display: inline; max-width: initial; padding: 0px; margin: 0px; overflow: initial; line-height: inherit; word-wrap: normal; border: 0px; background-color: transparent; }
.markdown-preview[data-use-github-style] pre code::before, .markdown-preview[data-use-github-style] pre tt::before, .markdown-preview[data-use-github-style] pre code::after, .markdown-preview[data-use-github-style] pre tt::after { content: normal; }
.markdown-preview[data-use-github-style] kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: rgb(85, 85, 85); vertical-align: middle; border-style: solid; border-width: 1px; border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(187, 187, 187); border-radius: 3px; box-shadow: rgb(187, 187, 187) 0px -1px 0px inset; background-color: rgb(252, 252, 252); }
.markdown-preview[data-use-github-style] a { color: rgb(51, 122, 183); }
.markdown-preview[data-use-github-style] code { color: inherit; }
.markdown-preview[data-use-github-style] pre.editor-colors { padding: 0.8em 1em; margin-bottom: 1em; font-size: 0.85em; border-radius: 4px; overflow: auto; }
.scrollbars-visible-always .markdown-preview pre.editor-colors::shadow .vertical-scrollbar, .scrollbars-visible-always .markdown-preview pre.editor-colors::shadow .horizontal-scrollbar { visibility: hidden; }
.scrollbars-visible-always .markdown-preview pre.editor-colors:hover::shadow .vertical-scrollbar, .scrollbars-visible-always .markdown-preview pre.editor-colors:hover::shadow .horizontal-scrollbar { visibility: visible; }
.bracket-matcher .region {
border-bottom: 1px dotted lime;
position: absolute;
}
.spell-check-misspelling .region {
border-bottom: 2px dotted rgba(255, 51, 51, 0.75);
}
pre.editor-colors,
.host {
background-color: #282c34;
color: #abb2bf;
}
pre.editor-colors .line.cursor-line,
.host .line.cursor-line {
background-color: rgba(153, 187, 255, 0.04);
}
pre.editor-colors .invisible,
.host .invisible {
color: #abb2bf;
}
pre.editor-colors .cursor,
.host .cursor {
border-left: 2px solid #528bff;
}
pre.editor-colors .selection .region,
.host .selection .region {
background-color: #3e4451;
}
pre.editor-colors .bracket-matcher .region,
.host .bracket-matcher .region {
border-bottom: 1px solid #528bff;
box-sizing: border-box;
}
pre.editor-colors .invisible-character,
.host .invisible-character {
color: rgba(171, 178, 191, 0.15);
}
pre.editor-colors .indent-guide,
.host .indent-guide {
color: rgba(171, 178, 191, 0.15);
}
pre.editor-colors .wrap-guide,
.host .wrap-guide {
background-color: rgba(171, 178, 191, 0.15);
}
pre.editor-colors .find-result .region.region.region,
.host .find-result .region.region.region,
pre.editor-colors .current-result .region.region.region,
.host .current-result .region.region.region {
border-radius: 0px;
background-color: rgba(82, 139, 255, 0.24);
transition: border-color 0.4s;
}
pre.editor-colors .find-result .region.region.region,
.host .find-result .region.region.region {
border: 2px solid transparent;
}
pre.editor-colors .current-result .region.region.region,
.host .current-result .region.region.region {
border: 2px solid #528bff;
transition-duration: .1s;
}
pre.editor-colors .gutter .line-number,
.host .gutter .line-number {
color: #636d83;
-webkit-font-smoothing: antialiased;
}
pre.editor-colors .gutter .line-number.cursor-line,
.host .gutter .line-number.cursor-line {
color: #abb2bf;
background-color: #2c313a;
}
pre.editor-colors .gutter .line-number.cursor-line-no-selection,
.host .gutter .line-number.cursor-line-no-selection {
background-color: transparent;
}
pre.editor-colors .gutter .line-number .icon-right,
.host .gutter .line-number .icon-right {
color: #abb2bf;
}
pre.editor-colors .gutter:not(.git-diff-icon) .line-number.git-line-removed.git-line-removed::before,
.host .gutter:not(.git-diff-icon) .line-number.git-line-removed.git-line-removed::before {
bottom: -3px;
}
pre.editor-colors .gutter:not(.git-diff-icon) .line-number.git-line-removed::after,
.host .gutter:not(.git-diff-icon) .line-number.git-line-removed::after {
content: "";
position: absolute;
left: 0px;
bottom: 0px;
width: 25px;
border-bottom: 1px dotted rgba(224, 82, 82, 0.5);
pointer-events: none;
}
pre.editor-colors .gutter .line-number.folded,
.host .gutter .line-number.folded,
pre.editor-colors .gutter .line-number:after,
.host .gutter .line-number:after,
pre.editor-colors .fold-marker:after,
.host .fold-marker:after {
color: #abb2bf;
}
.comment {
color: #5c6370;
font-style: italic;
}
.comment .markup.link {
color: #5c6370;
}
.entity.name.type {
color: #e5c07b;
}
.entity.other.inherited-class {
color: #98c379;
}
.keyword {
color: #c678dd;
}
.keyword.control {
color: #c678dd;
}
.keyword.operator {
color: #abb2bf;
}
.keyword.other.special-method {
color: #61afef;
}
.keyword.other.unit {
color: #d19a66;
}
.storage {
color: #c678dd;
}
.storage.type.annotation,
.storage.type.primitive {
color: #c678dd;
}
.storage.modifier.package,
.storage.modifier.import {
color: #abb2bf;
}
.constant {
color: #d19a66;
}
.constant.variable {
color: #d19a66;
}
.constant.character.escape {
color: #56b6c2;
}
.constant.numeric {
color: #d19a66;
}
.constant.other.color {
color: #56b6c2;
}
.constant.other.symbol {
color: #56b6c2;
}
.variable {
color: #e06c75;
}
.variable.interpolation {
color: #be5046;
}
.variable.parameter {
color: #abb2bf;
}
.string {
color: #98c379;
}
.string.regexp {
color: #56b6c2;
}
.string.regexp .source.ruby.embedded {
color: #e5c07b;
}
.string.other.link {
color: #e06c75;
}
.punctuation.definition.comment {
color: #5c6370;
}
.punctuation.definition.method-parameters,
.punctuation.definition.function-parameters,
.punctuation.definition.parameters,
.punctuation.definition.separator,
.punctuation.definition.seperator,
.punctuation.definition.array {
color: #abb2bf;
}
.punctuation.definition.heading,
.punctuation.definition.identity {
color: #61afef;
}
.punctuation.definition.bold {
color: #e5c07b;
font-weight: bold;
}
.punctuation.definition.italic {
color: #c678dd;
font-style: italic;
}
.punctuation.section.embedded {
color: #be5046;
}
.punctuation.section.method,
.punctuation.section.class,
.punctuation.section.inner-class {
color: #abb2bf;
}
.support.class {
color: #e5c07b;
}
.support.type {
color: #56b6c2;
}
.support.function {
color: #56b6c2;
}
.support.function.any-method {
color: #61afef;
}
.entity.name.function {
color: #61afef;
}
.entity.name.class,
.entity.name.type.class {
color: #e5c07b;
}
.entity.name.section {
color: #61afef;
}
.entity.name.tag {
color: #e06c75;
}
.entity.other.attribute-name {
color: #d19a66;
}
.entity.other.attribute-name.id {
color: #61afef;
}
.meta.class {
color: #e5c07b;
}
.meta.class.body {
color: #abb2bf;
}
.meta.method-call,
.meta.method {
color: #abb2bf;
}
.meta.definition.variable {
color: #e06c75;
}
.meta.link {
color: #d19a66;
}
.meta.require {
color: #61afef;
}
.meta.selector {
color: #c678dd;
}
.meta.separator {
background-color: #373b41;
color: #abb2bf;
}
.meta.tag {
color: #abb2bf;
}
.underline {
text-decoration: underline;
}
.none {
color: #abb2bf;
}
.invalid.deprecated {
color: #523d14 !important;
background-color: #e0c285 !important;
}
.invalid.illegal {
color: #ffffff !important;
background-color: #e05252 !important;
}
.markup.bold {
color: #d19a66;
font-weight: bold;
}
.markup.changed {
color: #c678dd;
}
.markup.deleted {
color: #e06c75;
}
.markup.italic {
color: #c678dd;
font-style: italic;
}
.markup.heading {
color: #e06c75;
}
.markup.heading .punctuation.definition.heading {
color: #61afef;
}
.markup.link {
color: #c678dd;
}
.markup.inserted {
color: #98c379;
}
.markup.quote {
color: #d19a66;
}
.markup.raw {
color: #98c379;
}
.source.cs .keyword.operator {
color: #c678dd;
}
.source.css .property-name,
.source.css .property-value {
color: #828997;
}
.source.css .property-name.support,
.source.css .property-value.support {
color: #abb2bf;
}
.source.gfm .markup {
-webkit-font-smoothing: auto;
}
.source.gfm .link .entity {
color: #61afef;
}
.source.go .storage.type.string {
color: #c678dd;
}
.source.ini .keyword.other.definition.ini {
color: #e06c75;
}
.source.java .storage.modifier.import {
color: #e5c07b;
}
.source.java .storage.type {
color: #e5c07b;
}
.source.java .keyword.operator.instanceof {
color: #c678dd;
}
.source.java-properties .meta.key-pair {
color: #e06c75;
}
.source.java-properties .meta.key-pair > .punctuation {
color: #abb2bf;
}
.source.js .keyword.operator {
color: #56b6c2;
}
.source.js .keyword.operator.delete,
.source.js .keyword.operator.in,
.source.js .keyword.operator.of,
.source.js .keyword.operator.instanceof,
.source.js .keyword.operator.new,
.source.js .keyword.operator.typeof,
.source.js .keyword.operator.void {
color: #c678dd;
}
.source.json .meta.structure.dictionary.json > .string.quoted.json {
color: #e06c75;
}
.source.json .meta.structure.dictionary.json > .string.quoted.json > .punctuation.string {
color: #e06c75;
}
.source.json .meta.structure.dictionary.json > .value.json > .string.quoted.json,
.source.json .meta.structure.array.json > .value.json > .string.quoted.json,
.source.json .meta.structure.dictionary.json > .value.json > .string.quoted.json > .punctuation,
.source.json .meta.structure.array.json > .value.json > .string.quoted.json > .punctuation {
color: #98c379;
}
.source.json .meta.structure.dictionary.json > .constant.language.json,
.source.json .meta.structure.array.json > .constant.language.json {
color: #56b6c2;
}
.source.ruby .constant.other.symbol > .punctuation {
color: inherit;
}
.source.python .keyword.operator.logical.python {
color: #c678dd;
}
.source.python .variable.parameter {
color: #d19a66;
}
</style>
</head>
<body class='markdown-preview' data-use-github-style><h1 id="the-evercraft-kata">The EverCraft Kata</h1>
<p>In this exercise, you will build out a domain model for a MMORPG called EverCraft for the company Blizzards of the Coast. Just
follow the requirements below, pairing and test driving your code of course, and have fun.</p>
<p>This document and template projects for several programming languages can be found on-line at <a href="https://github.com/PuttingTheDnDInTDD/EverCraft-Kata">https://github.com/PuttingTheDnDInTDD/EverCraft-Kata</a>.</p>
<p>May all your rolls be 20s.</p>
<p>Guy Royse <a href="https://twitter.com/guyroyse">(@guyroyse)</a> and George Walters II <a href="https://twitter.com/walterg2">(@walterg2)</a></p>
<p><img src="/Users/groyse/code/projects/evercraft-kata/images/Evercraft.png" alt="EverCraft"></p>
<h2 id="requirements">Requirements</h2>
<h3 id="iteration-1-core">Iteration 1 - Core</h3>
<p>This iteration covers core functionality for leveling, combat, and character attributes.</p>
<h4 id="feature-create-a-character">Feature: Create a Character</h4>
<blockquote>
<p>As a character I want to have a name so that I can be distinguished from other characters</p>
</blockquote>
<ul>
<li>can get and set Name</li>
</ul>
<h4 id="feature-alignment">Feature: Alignment</h4>
<blockquote>
<p>As a character I want to have an alignment so that I have something to guide my actions</p>
</blockquote>
<ul>
<li>can get and set alignment</li>
<li>alignments are Good, Evil, and Neutral</li>
</ul>
<h4 id="feature-armor-class-hit-points">Feature: Armor Class & Hit Points</h4>
<blockquote>
<p>As a combatant I want to have an armor class and hit points so that I can resist attacks from my enemies</p>
</blockquote>
<ul>
<li>has an Armor Class that defaults to 10</li>
<li>has 5 Hit Points by default</li>
</ul>
<h4 id="feature-character-can-attack">Feature: Character Can Attack</h4>
<blockquote>
<p>As a combatant I want to be able to attack other combatants so that I can survive to fight another day</p>
</blockquote>
<ul>
<li>roll a 20 sided die (don't code the die)</li>
<li>roll must meet or beat opponents armor class to hit</li>
</ul>
<h4 id="feature-character-can-be-damaged">Feature: Character Can Be Damaged</h4>
<blockquote>
<p>As an attacker I want to be able to damage my enemies so that they will die and I will live</p>
</blockquote>
<ul>
<li>If attack is successful, other character takes 1 point of damage when hit</li>
<li>If a roll is a natural 20 then a critical hit is dealt and the damage is doubled</li>
<li>when hit points are 0 or less, the character is dead</li>
</ul>
<h4 id="feature-character-has-abilities-scores">Feature: Character Has Abilities Scores</h4>
<blockquote>
<p>As a character I want to have several abilities so that I am not identical to other characters except in name</p>
</blockquote>
<ul>
<li>Abilities are Strength, Dexterity, Constitution, Wisdom, Intelligence, Charisma</li>
<li>Abilities range from 1 to 20 and default to 10</li>
<li>Abilities have modifiers according to the following table</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align:center">Score</th>
<th style="text-align:center">Modifier</th>
<th style="text-align:center">Score</th>
<th style="text-align:center">Modifier</th>
<th style="text-align:center">Score</th>
<th style="text-align:center">Modifier</th>
<th style="text-align:center">Score</th>
<th style="text-align:center">Modifier</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"><strong>1</strong></td>
<td style="text-align:center">-5</td>
<td style="text-align:center"><strong>6</strong></td>
<td style="text-align:center">-2</td>
<td style="text-align:center"><strong>11</strong></td>
<td style="text-align:center">0</td>
<td style="text-align:center"><strong>16</strong></td>
<td style="text-align:center">+3</td>
</tr>
<tr>
<td style="text-align:center"><strong>2</strong></td>
<td style="text-align:center">-4</td>
<td style="text-align:center"><strong>7</strong></td>
<td style="text-align:center">-2</td>
<td style="text-align:center"><strong>12</strong></td>
<td style="text-align:center">+1</td>
<td style="text-align:center"><strong>17</strong></td>
<td style="text-align:center">+3</td>
</tr>
<tr>
<td style="text-align:center"><strong>3</strong></td>
<td style="text-align:center">-4</td>
<td style="text-align:center"><strong>8</strong></td>
<td style="text-align:center">-1</td>
<td style="text-align:center"><strong>13</strong></td>
<td style="text-align:center">+1</td>
<td style="text-align:center"><strong>18</strong></td>
<td style="text-align:center">+4</td>
</tr>
<tr>
<td style="text-align:center"><strong>4</strong></td>
<td style="text-align:center">-3</td>
<td style="text-align:center"><strong>9</strong></td>
<td style="text-align:center">-1</td>
<td style="text-align:center"><strong>14</strong></td>
<td style="text-align:center">+2</td>
<td style="text-align:center"><strong>19</strong></td>
<td style="text-align:center">+4</td>
</tr>
<tr>
<td style="text-align:center"><strong>5</strong></td>
<td style="text-align:center">-3</td>
<td style="text-align:center"><strong>10</strong></td>
<td style="text-align:center">0</td>
<td style="text-align:center"><strong>15</strong></td>
<td style="text-align:center">+2</td>
<td style="text-align:center"><strong>20</strong></td>
<td style="text-align:center">+5</td>
</tr>
</tbody>
</table>
<h4 id="feature-character-ability-modifiers-modify-attributes">Feature: Character Ability Modifiers Modify Attributes</h4>
<blockquote>
<p>As a character I want to apply my ability modifiers improve my capabilities in combat so that I can vanquish my enemy with extreme prejudice</p>
</blockquote>
<ul>
<li>add Strength modifier to:<ul>
<li>attack roll and damage dealt</li>
<li>double Strength modifier on critical hits</li>
<li>minimum damage is always 1 (even on a critical hit)</li>
</ul>
</li>
<li>add Dexterity modifier to armor class</li>
<li>add Constitution modifier to hit points (always at least 1 hit point)</li>
</ul>
<h4 id="feature-a-character-can-gain-experience-when-attacking">Feature: A Character can gain experience when attacking</h4>
<blockquote>
<p>As a character I want to accumulate experience points (xp) when I attack my enemies so that I can earn bragging rights at the tavern</p>
</blockquote>
<ul>
<li>When a successful attack occurs, the character gains 10 experience points</li>
</ul>
<h4 id="feature-a-character-can-level">Feature: A Character Can Level</h4>
<blockquote>
<p>As a character I want my experience points to increase my level and combat capabilities so that I can bring vengeance to my foes</p>
</blockquote>
<ul>
<li>Level defaults to 1</li>
<li>After 1000 experience points, the character gains a level<ul>
<li>0 xp -> 1st Level</li>
<li>1000 xp -> 2nd Level</li>
<li>2000 xp -> 3rd Level</li>
<li>etc.</li>
</ul>
</li>
<li>For each level:<ul>
<li>hit points increase by 5 plus Con modifier</li>
<li>1 is added to attack roll for every even level achieved</li>
</ul>
</li>
</ul>
<h3 id="iteration-2-classes">Iteration 2 - Classes</h3>
<p>Classes that a character can have.</p>
<h4 id="feature-characters-have-classes">Feature: Characters Have Classes</h4>
<blockquote>
<p>As a player I want a character to have a class that customizes its capabilities so that I can play more interesting characters</p>
</blockquote>
<h5 id="ideas">Ideas</h5>
<ul>
<li>changes in hit points</li>
<li>changes in attack and damage</li>
<li>increased critical range or damage</li>
<li>bonuses/penalties versus other classes</li>
<li>special abilities</li>
<li>alignment limitations</li>
</ul>
<h5 id="samples">Samples</h5>
<blockquote>
<p>As a player I want to play a Fighter so that I can kick ass and take names</p>
</blockquote>
<ul>
<li>attacks roll is increased by 1 for every level instead of every other level</li>
<li>has 10 hit points per level instead of 5</li>
</ul>
<blockquote>
<p>As a player I want to play a Rogue so that I can defeat my enemies with finesse</p>
</blockquote>
<ul>
<li>does triple damage on critical hits</li>
<li>ignores an opponents Dexterity modifier (if positive) to Armor Class when attacking</li>
<li>adds Dexterity modifier to attacks instead of Strength</li>
<li>cannot have Good alignment</li>
</ul>
<blockquote>
<p>As a player I want to play a Monk so that I can enjoy being an Asian martial-arts archetype in a Medieval European setting</p>
</blockquote>
<ul>
<li>has 6 hit point per level instead of 5</li>
<li>does 3 points of damage instead of 1 when successfully attacking</li>
<li>adds Wisdom modifier (if positive) to Armor Class in addition to Dexterity</li>
<li>attack roll is increased by 1 every 2nd and 3rd level</li>
</ul>
<blockquote>
<p>As a player I want to play a Paladin so that I can smite evil, write wrongs, and be a self-righteous jerk</p>
</blockquote>
<ul>
<li>has 8 hit points per level instead of 5</li>
<li>+2 to attack and damage when attacking Evil characters</li>
<li>does triple damage when critting on an Evil character (i.e. add the +2 bonus for a regular attack, and then triple that)</li>
<li>attacks roll is increased by 1 for every level instead of every other level</li>
<li>can only have Good alignment</li>
</ul>
<h3 id="iteration-3-races">Iteration 3 - Races</h3>
<p>Races that a character can be.</p>
<h4 id="feature-characters-have-races">Feature: Characters Have Races</h4>
<blockquote>
<p>As a player I want to play a Human so that I can be boring and unoriginal</p>
</blockquote>
<ul>
<li>all characters default to Human</li>
</ul>
<blockquote>
<p>As a player I want a character to have races other than Human that customize its capabilities so that I can
play more interesting characters and wont be boring and unoriginal</p>
</blockquote>
<h5 id="ideas">Ideas</h5>
<ul>
<li>changes in abilities</li>
<li>increased critical range or damage</li>
<li>bonuses/penalties versus other races</li>
<li>special abilities</li>
<li>alignment limitations</li>
</ul>
<h5 id="samples">Samples</h5>
<blockquote>
<p>As a player I want to play an Orc so that I can be crude, drunk, and stupid</p>
</blockquote>
<ul>
<li>+2 to Strength Modifier, -1 to Intelligence, Wisdom, and Charisma Modifiers</li>
<li>+2 to Armor Class due to thick hide</li>
</ul>
<blockquote>
<p>As a player I want to play a Dwarf so that I can drink more than the orc</p>
</blockquote>
<ul>
<li>+1 to Constitution Modifier, -1 to Charisma Modifier</li>
<li>doubles Constitution Modifier when adding to hit points per level (if positive)</li>
<li>+2 bonus to attack/damage when attacking orcs (Dwarves hate Orcs)</li>
</ul>
<blockquote>
<p>As a player I want to play an Elf so that I can drink wine and snub my nose at the crude dwarf and orc</p>
</blockquote>
<ul>
<li>+1 to Dexterity Modifier, -1 to Constitution Modifier</li>
<li>does adds 1 to critical range for critical hits (20 -> 19-20, 19-20 -> 18-20)</li>
<li>+2 to Armor Class when being attacked by orcs</li>
</ul>
<blockquote>
<p>As a player I want to play a Halfling so that I can steal from the other drunk characters</p>
</blockquote>
<ul>
<li>+1 to Dexterity Modifier, -1 to Strength Modifier</li>
<li>+2 to Armor Class when being attacked by non Halfling (they are small and hard to hit)</li>
<li>cannot have Evil alignment</li>
</ul>
<h3 id="iteration-4-weapons-armor-items">Iteration 4 - Weapons, Armor & Items</h3>
<p>Items that enhance a characters capabilities.</p>
<h4 id="feature-weapons">Feature: Weapons</h4>
<blockquote>
<p>As a character I want to be able to wield a single weapon so that I can achieve victory through superior firepower</p>
</blockquote>
<ul>
<li>character can wield only one weapon</li>
</ul>
<h5 id="ideas">Ideas</h5>
<ul>
<li>basic weapons that improve damage (dagger)</li>
<li>basic weapons that improve to attacks (+1 sword)</li>
<li>magic weapons with special properties (knife of ogre slaying)</li>
<li>weapons that certain classes or races can or cannot wield</li>
</ul>
<h5 id="samples">Samples</h5>
<blockquote>
<p>As a character I want to be able to wield a longsword so that I can look cool</p>
</blockquote>
<ul>
<li>does 5 points of damage</li>
</ul>
<blockquote>
<p>As a character I want to be able to wield a +2 waraxe that so that I can <em>be</em> cool</p>
</blockquote>
<ul>
<li>does 6 points of damage</li>
<li>+2 to attack</li>
<li>+2 to damage</li>
<li>triple damage on a critical (quadruple for a Rogue)</li>
</ul>
<blockquote>
<p>As an elf I want to be able to wield a elven longsword that so I can stick it to that orc with the waraxe</p>
</blockquote>
<ul>
<li>does 5 points of damage</li>
<li>+1 to attack and damage</li>
<li>+2 to attack and damage when wielded by an elf <em>or</em> against an orc</li>
<li>+5 to attack and damage when wielded by an elf <em>and</em> against orc</li>
</ul>
<blockquote>
<p>As a monk I want nun chucks that work with my martial arts so that I can kick ass like Chuck Norris</p>
</blockquote>
<ul>
<li>does 6 points of damage</li>
<li>when used by a non-monk there is a -4 penalty to attack</li>
</ul>
<h4 id="feature-armor">Feature: Armor</h4>
<blockquote>
<p>As a character I want to be able to don armor and shield so that I can protect myself from attack</p>
</blockquote>
<ul>
<li>character can only don one shield and wear one suit of armor</li>
</ul>
<h5 id="ideas">Ideas</h5>
<ul>
<li>basic armor that improves armor class (plate)</li>
<li>magic armor that has special properties</li>
<li>armor and shields that are or are not usable by certain races or classes</li>
</ul>
<h5 id="samples">Samples</h5>
<blockquote>
<p>As a character I want to the be able to wear leather armor so that I can soften attacks against me</p>
</blockquote>
<ul>
<li>+2 to Armor Class</li>
</ul>
<blockquote>
<p>As a fighter (or dwarf) I want to be able to wear plate armor so that I can ignore the blows of my enemies</p>
</blockquote>
<ul>
<li>+8 to Armor Class</li>
<li>can only be worn by fighters (of any race) and dwarves (of any class)</li>
</ul>
<blockquote>
<p>As a character I want to the be able to wear magical leather armor of damage reduction so that I can soften attacks against me</p>
</blockquote>
<ul>
<li>+2 to Armor Class</li>
<li>-2 to all damage received</li>
</ul>
<blockquote>
<p>As an elf I want to be able to wear elven chain mail so that I can fit in with all the other elves</p>
</blockquote>
<ul>
<li>+5 to Armor Class</li>
<li>+8 to Armor Class if worn by an elf</li>
<li>+1 to attack if worn by an elf</li>
</ul>
<blockquote>
<p>As a fighter I want to be able to hold a shield in my off-hand so that I can block incoming blows</p>
</blockquote>
<ul>
<li>+3 to Armor Class</li>
<li>-4 to attack</li>
<li>-2 to attack if worn by a fighter</li>
</ul>
<h4 id="feature-items">Feature: Items</h4>
<blockquote>
<p>As a character I want to be able to have items that enhance my capabilities so that I can be more bad-ass</p>
</blockquote>
<ul>
<li>can carry multiple items</li>
</ul>
<h5 id="ideas">Ideas</h5>
<ul>
<li>items that improve combat with types of weapons</li>
<li>items that improve stats against enemies with a certain alignment or race</li>
<li>items that improve abilities</li>
</ul>
<h5 id="samples">Samples</h5>
<blockquote>
<p>As a character I want to be able to wear a ring of protection so that I can be protected from attack</p>
</blockquote>
<ul>
<li>adds +2 to armor class</li>
</ul>
<blockquote>
<p>As a character I want to be able to wear a belt of giant strength so that I can be even stronger in combat</p>
</blockquote>
<ul>
<li>add +4 to Strength Score</li>
</ul>
<blockquote>
<p>As a character I want to be able to wear an amulet of the heavens so that I can strike down evil with holy power</p>
</blockquote>
<ul>
<li>+1 to attack against Neutral enemies</li>
<li>+2 to attack against Evil enemies</li>
<li>double above bonuses if worn by a paladin</li>
</ul>
<h3 id="bonus-iteration-battle-grid">Bonus Iteration - Battle Grid</h3>
<p>Build your own features here. Multiple characters can be on a grid-based map. Each square on the map had terrain
that impacts the occupant or opponents attacking into it. Characters can move and weapons have ranges.</p></body>
</html>