Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Knuth's first large program

Name: Anonymous 2011-08-27 13:30

was a tic-tac-toe that learned to play by remembering the relative desirability or undesirability of each position that it had ever encountered. The hardest part, as Knuth writes, was figuring out how to keep one digit of memory for each possible configuration of the board. The machine had just 2000 words of memory, each 10 digits long, plus a sign bit.

Name: Anonymous 2011-08-28 8:54

N ECPIN O XETOS!!

Also, that's stupid because it is very easy to make an optimal Tic-tac-toe AI. It just needs to block its opponent's attempts at lines and start in the center.

Name: Anonymous 2011-08-28 9:10

>>1-2
(same-person? (get 'prog-posts 1314466205 1-2))
T

Name: >>2 but not >>1 2011-08-28 9:15

>>3
I'm afraid you are same-person? function is bugged.

Name: Anonymous 2011-08-28 10:11

>>2
More like...

-Can I win?
-Can I block them from winning?
-Can I take the center?
-Can I take a diagonal spot?
-Are there spots to randomly choose from?

Name: Anonymous 2011-08-28 10:19

>>2
It just occured to me that this was probably the inspiration for the program in the movie Wargames. Sorry to have disturbed the ongoing of touhou threads.

Don't change these.
Name: Email:
Entire Thread Thread List