Announcement

Collapse
No announcement yet.

Scorebox Revamping

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scorebox Revamping

    Wirah's looking at a way to automate TWDT scorebox input in the future. (We don't currently log games to the database, and the new TWDT site is hosted on Wirah's server rather than TW infrastructure so it makes it tricky anyhow.) He was looking to have clearer info, such as who is subbed in vs subbed out, showing each basing ship's score separately when someone switches/changes, etc. Thought this might provide some nice match details. Most of the code needed to do this is in, but wanted to see what people think first.

    The biggest change is tightening up the scoreboxes. Not as much whitespace so we can maximize space for the notes section without making things unnecessarily wide. Also loses some of that nice swoop down that is sort of the hallmark of TW scoreboxes. In exchange you get quite a lot more information, including timestamps for subs/switches/KOs, special elim conditions, etc. This lets you "read" a game more easily without having the log. Is it worth the tradeoff? Let me know what you think.

    (Note: stats are not real and may not add up properly.)

    Base (Some stats will now show as blank rather than 0, such as TKs in non-bombing ships, or RPD in non-sharks)
    Code:
    Power vs. Legio XI                        5:24 - 15:00                       26 Aug 2018 22:12:51
    ,-------------------,--------K-----D----TK---FT--TeKs--RPD---Rtg--LO---Note-----------------Time--.
    | Power            /        373 | 373 | 15 | 10 |  2 |     | 204 | 1 | Loss (-9:36)         20:24 |
    |-----------------'             |     |    |    |    |     |     |   |                            |
    |  Ease                      65 |  47 |    |  1 |  0 |     |  10 | 0 |                            |
    |  Glyde             -S-      6 |  71 | 12 |  1 |  0 | 2.7 | --- | 1 |                            |
    |  Heaven            =T=     20 |  10 |    |  0 |  1 |     |   1 | 0 |                            |
    |  Henry Saari               83 |  42 |    |  0 |  0 |     | SUB | 0 | I > Jessup           12:18 |
    |  Jessup                    51 |  46 |    |  2 |  0 |     | SUB | 0 | O > Henry Saari      12:16 |
    |  ro                        93 |  33 |    |  1 |  1 |     | 114 | 0 |                            |
    |  vys               -S-      0 |   3 |  0 |  0 |  0 | 3.0 |   0 | 0 | S > Spider            0:30 |
    |  vys                       47 |  40 |    |  0 |  0 |     |   0 | 0 |                            |
    |  zidane            -S-      8 |  81 |  3 |  5 |  0 | 2.8 |   1 | 0 |                            |
    .-------------------,-----------------------------------------------------------------------------.
    | Legio XI         /        358 | 382 |  9 | 11 | 10 |     |4088 | 0 | Win (+9:36)          20:24 |
    |-----------------'             |     |    |    |    |     |     |   |                            |
    |  beam                      41 |  42 |    |  0 |  0 |     | 497 | 0 |                            |
    |  JAMAL                    101 |  39 |    |  1 |  2 |     | 719 | 0 |                            |
    |  M_M God           Jav     49 |  45 |  0 |  0 |  1 |     | 527 | 0 |                            |
    |  Mythril           -S-     15 |  87 |  8 |  4 |  2 | 2.8 | 371 | 0 |                            |
    |  Ogron             =T=     20 |   2 |    |  1 |  1 |     | 453 | 0 |                            |
    |  Rasaq                     63 |  45 |    |  0 |  1 |     | 579 | 0 |                            |
    |  rodney            -S-      9 |  75 |  1 |  4 |  1 | 3.0 | 375 | 0 |                            |
    |  Steadman                  60 |  47 |    |  1 |  2 |     | 567 | 0 |                            |
    `------------------------------------------------------------------------I=IN--O=OUT--S=SWITCH----'
    J (D is the same minus TK column)
    Code:
     Curse vs. Terrorist                   31 - 50                02 Sep 2018 20:22:29
    ,-------------------,---------K-----D---TK---Rtg--LO---Note-----------------Time--.
    | Curse            /         27 |  46 |  3 | 361 | 0 | Loss (-19)           15:22 |
    |-----------------'             |     |    |     |   |                            |
    |  destruct                   7 |  10 |  0 |  80 | 0 | KO by dreamwin       14:20 |
    |  Mikkiz                     8 |  10 |  0 |  90 | 0 | KO by Commodo        15:22 |
    |  Rab                        3 |   6 |  0 |  68 | 1 | Elim by lagout       11:45 |
    |  Spectacular                5 |  10 |  3 |  60 | 0 | KO by dreamwin        9:52 |
    |  wicket666                  4 |  10 |  0 |  63 | 0 | KO by Zizu            9:35 |
    .-------------------,-------------------------------------------------------------.
    | Terrorist        /         42 |  31 |  1 | 480 | 5 | Win (+19)            15:22 |
    |-----------------'             |     |    |     |   |                            |
    |  Commodo                   16 |   6 |  1 | 144 | 0 |                            |
    |  Cornflux                   3 |   4 |  0 | SUB | 0 | I8 > maketso          3:44 |
    |  dreamwin                  15 |   5 |  0 | 154 | 0 |                            |
    |  gilder                     2 |   4 |  0 |  90 | 1 |                            |
    |  maketso                    0 |   2 |  0 | SUB | 3 | O2 > Cornflux         3:44 |
    |  Zizu                       6 |  10 |  0 |  92 | 1 | KO by Mikkiz         12:01 |
    `-----------------------------------------------------I=IN-O=OUT-S=SWITCH-#=DEATHS'
    "You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
    -Dostoevsky's Crime and Punishment

  • #2
    This looks great man! Would really help with doing the stats I did for TWDT.
    Also helps on writing Hot or Nots (if they ever get done in the future eh)
    Major Crisis

    Comment


    • #3
      Thanks MC. I guess the motion carries unanimously, heh. Probably for most it's not such a sacred thing, how it looks. Think this could add some value at any rate. Will be testing in TWD in the week and reverting before TWDT to make sure nothing goes wrong.

      Also, Hot or Nots will never die so long as we keep having children. Time to get to work, everyone.
      "You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
      -Dostoevsky's Crime and Punishment

      Comment


      • #4
        Hey qan, great idea and work. Looks really useful.

        Comment

        Working...
        X