Unless you wanted to actually make AI for your tic tac toe game, I dont see why anyone would want a computer tic tac toe game, it's a game that that takes a whole 10 seconds to complete on paper, and this includes drawing the 4 lines it takes to actually play on.
You need nine squares (objects) that can display a nought, a cross, or empty. The strategies for the game aren't complex and should be easy enough in MMF, although perhaps a little time-consuming. To check if a game has been won, you need to check for certain sets of three objects being in the same state (alterable values could be used for this). There are a number of ways to do it, though.
I have used easygrid extension... I've made the grid, and the squares can be marked with no problem... but I still can't check points(in the case)... You need to mark 5 in a row or column or diagonals to win a point... the game only is over when theres no more possibility to win or when the squares are all checked(quite impossible)... I think I need to make a matrix, but I have no idea how to do it...
Every Rule Have An Exception... including this one...
But isn't the idea behind MMF meant to be innovation? You could make a tic-tac-toe game with scores and ranks, and then league tables and tournaments and whatever. MSN tic-tac-toe sucks imo - but with MMF there are all kinds of things you could do to make it a good game.
I played 4-dimensional naughts-and-crosses today. Bit of a brainfuck at first, especially if you don't read the instructions.
I've done an implementation in javascript with AI. It's pretty simple since you can just hard-code the best move for any particular state of play (which there aren't all that many of if you exclude all the rotations).
I have some ideas to inovate the game... but this is not the problem... If someone have an engine, tutorial or something, please send it to me... cuz I don't know how to program it... I can implement some nice things later, when the game is funcional...
Every Rule Have An Exception... including this one...
I'll explain the game... it's an 18 by 18 squares tic tac toe(naughts-and-crosses)game... the objective is to, at the end of the game, score more points than your oponent... you score a point marking 5 crosses or circles in sequence... the game is over when nobody have possibility of wining... this game is confusing, not like the original TTT, in which I can't find any fun... that's all I can say about...
Every Rule Have An Exception... including this one...
If you have MMF, get the Advance Game Board object. I think its in one of the bonus packs.
If you then go to the extensions folder > demos > advanced game board - you'll find a CCA file which has examples of using the object. In there you'll find a tic-tac-toe example. Its a 3x3 example, but it shouldnt be too hard to make into another grid size.
Thx for the help Flava... but I don't have the extension here... nor this bonus pack... If someone send the extension with the example to my e-mail, I'll be grateful... I'm getting nervous, cuz I just wanna make a simple game... thx anyway...
Every Rule Have An Exception... including this one...
DaVince This fool just HAD to have a custom rating