Hi Inform Lovers ^^
I got another question. Im workin on a project in inform , i try to write a TicTacToe game.
It should look like :
I wanne go through a door, the door is looked. The only way to unlock the door is to play against an artificial intelligence and win a TicTacToe game. The board is a panel on the side of the door.
@chinkeeyong another great work, im impressed!
How about to play a tictactoe game wenn the AI random place an X? Should be a lil bit easier or? I mean when the AI only check if an place where empty and place an X.
Got an idea?
@sub0: That is very easily accomplished by deleting the “play to win rule” and the “play to not lose rule” from the tic-tac-toe playing rulebook.
@zzo38: I answered that question in the annotations of the source text:
While it is possible to create an algorithm that will never lose, we want the player to be able to defeat the computer, and so we'll create one that is imperfect while still posing a challenge.
The minimum for the code is to strip out all the comments. If you need more word economy, you can also cut all the names of the rules. Everything else is critical.