Tic-tac-toe: Difference between revisions

No edit summary
Line 6,155:
WinGame=False
p=Board$()
Inventory Corners=1:=(1,1),2:=(1,3),3:=(3,1), 4:=(3,3)
Inventory Sides=1:=(1,2),2:=(2,3),3:=(3,2),4:=(2,1)
RandomPosition=lambda -> {
=(random(1,3), random(1,3))
Line 6,265 ⟶ 6,263:
Tic.Tac.Toe
</lang>
 
=={{header|Mathematica}}==
<lang>DynamicModule[{board = ConstantArray[0, {3, 3}], text = "Playing...",
Anonymous user