If you have MAPLE V4 or better and Windows 3.1 or better then here is how to load the tic tac toe package:
read(`c:/maplev4/share/games/tictac/tictactoe_v4.mpl`); tictactoe();
Playing tic-tac-toe interactively with MAPLE V5
tictactoe_v5.mws,wdj,11-2-98
read(`c:/maplev4/share/games/tictactoe/tictactoe_v5.mpl`);
#read(`c:/maplev4/share/games/tictactoe/tictactoe_v4.mpl`);
#for MAPLEV4
tictactoe();
![]()
Y
![]()
1
![]()
9
![]()
8
![]()
3
![]()
6
![]()
The program, as you can see, does not win every time sinec it's been intentionally been programmed to lose once-in-awhile.
created 11-2-98 by wdj