]> git.cworth.org Git - lmno.games/commitdiff
Scribe: Prep game state for detection of glyphs
authorCarl Worth <cworth@cworth.org>
Tue, 7 Jul 2020 02:08:32 +0000 (19:08 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 7 Jul 2020 05:57:19 +0000 (22:57 -0700)
There's not any detection of glyphs here yet, there's simply a new
slot in each of the squares: Where we used to just have a textual
ymbol for each occupied square, we now have an object:

{
          symbol: '+' or 'o',
          glyph: true or false
        }

And the glyph Boolean is used to add a class to the HTML square
element as well.


No differences found