Early game termination
[troll.git] / PLAN.org
1 * Todo list
2 ** DONE links to contrib and forum
3 ** DONE document maps
4 ** DONE document length/distance thingy
5 ** DONE debug rotating avatar
6 ** DONE easter egg for YannT
7 ** DONE messages
8 ** DONE left win bias bug
9 ** DONE upgrade deps
10 ** DONE Timings
11 ** DONE Protocol
12 ** DONE fenceposts
13 ** Quotes to include
14      Trolls, it is said, were bred by Melkor because he desired a race as powerful as the giant Ents, the Tree-herds.
15          David Day in Tolkien : The Illustrated Encyclopaedia (1993), p. 226
16
17      The folk belief … is that lightning seeks out trolls and giants, perhaps a reflection the giant-slaying of Thor in Old Norse mythology. Many informants have told collectors that the reason the giants or trolls are no longer populous is the accuracy and efficiency of the lightning strokes.
18          John Lindow, in Swedish Folktales and Legends (1978), p. 89
19
20      Senator Stampingston: Gentlemen, it's clear that we're in a universally precarious situation. Dethklok has summoned a troll.
21      General Crozier: That's impossible, there's no such thing as trolls.
22      Senator Stampingston: Then how do you explain the dead unicorns?
23          Metalocalypse, Dethtroll, episode 1.04 (2006)
24
25      They were trolls. Obviously trolls. Even Bilbo, in spite of his sheltered life, could see that: from the great heavy faces of them, and their size, and the shape of their legs, not to mention their language, which was not drawing-room fashion at all, at all.
26          J. R. R. Tolkien, The Hobbit (1937), Chapter 2: "Roast Mutton"
27
28      Trolls are slow in the uptake, and mighty suspicious about anything new to them.
29          J. R. R. Tolkien, The Hobbit (1937), Chapter 2: "Roast Mutton"
30
31      Trolls simply detest the very sight of dwarves (uncooked).
32          J. R. R. Tolkien, The Hobbit (1937), Chapter 2: "Roast Mutton"
33
34      Trolls do not build.
35          J. R. R. Tolkien, The Fellowship of the Ring (1954), Book I, Chapter 12: "Flight to the Ford"; said by Strider.
36
37      'Now is the time!' cried Gandalf. 'Let us go, before the troll returns!'
38          J. R. R. Tolkien, The Fellowship of the Ring (1954), Book II, Chapter 5: "The Bridge of Khazad-Dûm"
39
40      Trolls are only counterfeits, made by the Enemy in the Great Darkness, in mockery of Ents, as Orcs were of Elves.
41          J. R. R. Tolkien, The Two Towers (1954), Book III, Chapter 4: "Treebeard"
42 ** DONE View settings
43  - [X] troll pants colors
44 ** TODO Internationalised troll quotes
45  - pain au chocolat ou chocolatine
46 ** DONE initial model parametrization
47 ** DONE view parameterization?
48 ** DONE troll races
49 ** DONE html for salting the seed
50 ** TODO Leagues (need multiround)
51 ** TODO Multiround (need early termination)
52 ** DONE Early termination (need time rationalization)
53 ** DONE Time rationalization (need code reorg)
54 ** TODO Code cleanup
55
56 That one's probably never going to be DONE ^^'
57
58 *** organize routines by functional area
59
60 *** split out what can be
61
62 *** factor stone throwing ref/view interface
63
64 * BUGS
65 ** viewer goes blank <2020-06-03 mer. 22:58>
66 (22:19:12) Astrobytes: JBM, if you're around, the TVC viewer goes blank after a couple of games. Consistently. In Chrome. Other games not doing the same.
67 (22:24:18) Astrobytes: Seems to be fine in Opera and FF
68 (22:30:54) Astrobytes: struct, what's happening with Shabu/Shobu/Shamu/Shangis/whateverit'scalled?
69 (22:38:18) JBM: interesting, lemme try
70 (22:44:15) JBM: mmm
71 (22:44:18) JBM: not here :(
72 (22:44:36) Astrobytes: Any luck reproducing JBM? In true bug-form, it hasn't happened since I reported it. Yet it's been happening all day (on 2 different PCs) with multiple restarts.
73 (22:44:41) Astrobytes: Ah.
74 (22:44:54) JBM: mmm
75 (22:45:11) JBM: i only started pushing stuff at around 6 CEST
76 (22:45:21) JBM: and then again, did not touch the viewer today
77 (22:45:27) Astrobytes: One Win 8.1 and one Win 10
78 (22:45:35) JBM: i only have a win10
79 (22:45:56) JBM: chrome, errr 83.0.4103.61
80 (22:46:19) JBM: ... .97 now
81 (22:46:46) Astrobytes: I'm on latest w/ever that is
82 (22:48:05) UnnamedCodinGamer: I also had a few black screens (Firefox)
83 (22:48:15) Astrobytes: Interesting
84 (22:48:19) Astrobytes: Recent?
85 (22:48:23) JBM: nope, still get my ui
86 (22:48:25) UnnamedCodinGamer: yes
87 (22:48:34) JBM: i only get a temporary black sometimes as part of the demo
88 (22:48:49) Astrobytes: No, this is full-on blackout
89 (22:48:53) UnnamedCodinGamer: it was full black here
90 (22:49:01) JBM: the rest of the ui still working?
91 (22:49:06) JBM: what does the console report?
92 (22:49:26) Astrobytes: Didn't check console, if it happens again I'll let you know
93 (22:49:31) JBM: yes please
94 (22:49:32) UnnamedCodinGamer: everything else seemed normal
95 (22:49:49) Astrobytes: What were your UI settings UnnamedCodinGamer?
96 (22:50:16) Astrobytes: Verbose trolling etc
97 (22:50:20) UnnamedCodinGamer: like theme?
98 (22:50:41) Astrobytes: No the settings for the viewer
99 (22:51:47) UnnamedCodinGamer: on/off/GREen
100 (22:51:56) JBM: you have to give the actual options
101 (22:51:59) UnnamedCodinGamer: I think this is the default
102 (22:52:00) JBM: the ordering is random
103 (22:52:15) JBM: the defaults, OTOH, aren't (too much)
104 (22:52:28) JBM: like, pants color definitely is random
105 (22:52:35) UnnamedCodinGamer: verbose trolling on
106 (22:52:41) UnnamedCodinGamer: detroll mode off
107 (22:52:56) JBM: but a bad pants color would likely merely result in a naked troll, not a crash or allblack ui
108 (22:53:05) JBM: yes, those are the defaults
109 (22:53:39) JBM: well, no matter if it currently doesn't reproduce
110 (22:53:41) JBM: and if it does
111 (22:53:49) JBM: please look at the JS console
112 (22:53:51) Astrobytes: Then I've had it with detroll mode on and off
113 (22:54:02) Astrobytes: Will certainly do
114 (22:54:12) JBM: is that in the main viewer only or in last battles?
115 (22:54:27) Astrobytes: Main viewer only
116 (22:54:34) UnnamedCodinGamer: i had both
117 (22:54:41) JBM: because it doesn't in B, or because you never tried?
118 (22:54:43) JBM: ah ok
119 (22:54:51) JBM: thx
120 (22:55:04) UnnamedCodinGamer: after reload of last battles it was back to normal
121 (22:55:16) JBM: mmm
122 (22:55:28) Astrobytes: Could be a resource usage thing over x amount of time
123 (22:55:38) Astrobytes: Donno
124 (22:55:40) JBM: if it's irreproducible after reload, i'm tempted to dismiss as "something something cache"
125 (22:55:51) JBM: resource usage i'm more doubtful
126 (22:55:57) JBM: but who knows
127 (22:56:01) Astrobytes: Was still getting it after clearing cache earlier
128 (22:56:09) JBM: dear me
129 (22:56:19) JBM: ok, creating an actual entry in the PLAB
130 (22:56:36) Astrobytes: Anyway, don't worry about it too much until we can give you some more details
131 (22:57:07) JBM: right
132 (22:57:11) JBM: eagerly awaiting those
133 * Publication checklist
134 - [ ] demo is up-to-date
135 - [-] game name is updated to simple 'troll'
136   - [ ] in pom.xml artifactId
137   - [X] CANCELLED in config.ini (if GC confirms) (eZ disproved)
138   - [ ] in config.js