148 reputation
6
bio website
location
age
visits member for 1 year, 3 months
seen Dec 17 '13 at 5:01

Always do things in chronological order... It's simpler that way.


Oct
22
awarded  Autobiographer
Aug
15
comment Determine the winner of a tic tac toe board with a single matrix expression?
This is interesting. How hard would it be to extend this idea to a 3x3?
Aug
15
awarded  Supporter
Aug
14
awarded  Scholar
Aug
14
accepted Determine the winner of a tic tac toe board with a single matrix expression?
Aug
14
comment Determine the winner of a tic tac toe board with a single matrix expression?
This looks correct to me. This is a very direct approach to the problem of testing for each of the 4 types of wins. I have been wondering if there is some more general, probably more obscure, way of doing this purely with matrix multiplication.
Aug
14
revised Determine the winner of a tic tac toe board with a single matrix expression?
Defining behavior for two winners
Aug
14
awarded  Custodian
Aug
14
reviewed Approve suggested edit on Determine the winner of a tic tac toe board with a single matrix expression?
Aug
14
comment Determine the winner of a tic tac toe board with a single matrix expression?
You can assume only valid board states. Since gameplay would stop after once side wins, it is not possible for this to occur. Alternatively, if it makes it easier to express, your expression could arbitrarily pick a winner in a board that has two.
Aug
14
revised Determine the winner of a tic tac toe board with a single matrix expression?
adding emphasis
Aug
14
comment Determine the winner of a tic tac toe board with a single matrix expression?
@Mark Bennet You can assume only valid board states. Since gameplay would stop after one side wins, it is not possible for that to occur.
Aug
14
awarded  Student
Aug
14
awarded  Editor
Aug
14
revised Determine the winner of a tic tac toe board with a single matrix expression?
added 6 characters in body
Aug
14
asked Determine the winner of a tic tac toe board with a single matrix expression?