Down-right victory is impossible
qixils opened this issue · comments
Lexi commented
All forms of victory currently work except for up-right. Example of up-right victory:
--X
-X-
X--
Lexi commented
Potential implementation:
- Set current tile to (1, [height])
- Add/reset points depending on current placed tile
- Add one to
1
and subtract one from[height]
- Repeat steps 2-3 until at ([width], 1)
Lexi commented
An issue is occurring with downright victories, re-opening issue
Implementation/fix could be similar to up-right win implementation:
- Set current tile to
[width], [height]
- Add/reset points depending on current tile
- Subtract
1
fromwidth
andheight
- Repeat steps 2-3 until at
1, 1