4 ms·
But the code doesn’t work. That should be problem nr 1 for such a simple problem. Syntactical sugar doesn’t matter anymore at that stage
by jbverschoor 2y ago
But the code doesn’t work. That should be problem nr 1 for such a simple problem.
Syntactical sugar doesn’t matter anymore at that stage
- encomiast 2y agoMaybe I misunderstood the piece, but it seems the last sentence, "Well the code is indeed correct" suggests it _did_ work (although I'm also a little confused about what it means when all values are '-' which I interpreted as 'no piece played').
- jbverschoor 2y agoThe code might compile, but it does not functionally with in an empty game state. Resulting in an always win for the first player if he does not play on any diagonal