Closed JacobFischer closed 6 years ago
Oh the linter isn't picking up these errors:
you have a line like this:
this.checker = (this.game.resources[`checker`] as RendererResource)
.newSprite(this.container);
However there is no need, it can be rewritten as this:
this.checker = this.game.resources.checker.newSprite(this.container);
This has a few advantages:
I think i originally had blue and red for the actual checker pieces; Ill fix that error once I get the chance, I think I'm too used to python atm
I want to merge this to
v2
, before mergingv2
tomaster
.However there are many errors. Though every single one would have been caught by the linter it appears.
So @MatthewQualls please make sure your install of tslint is working and fix what it tells you to, then make another commit fixing them, then we can merge this.
Also, while not an error, the second player's color should probably be a dark grey for black's side.