Hey, just wondering if matrices make more sense in this situation and
how you would apply them.
So I'm just making a simple tic tac toe game - nothing major. I'm
storing each x or o as a -1 or 1 in a grid like data structure. Of
course, I could use a 2 dimensional array no problem - but wouldn't a
matrix be more appropriate? Not only would I not have to dimension my
nested arrays in a for/while loop - but I would assume that I could use
some kind of matrix property to add up each column or row (again without
a for/while loop).
I haven't used (or can really find any information on matrices) for
anything other than using them to transform bitmap data through the
transformational methods.
Thanks!
ben
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders