Re: How do you copy an array?



Geoffrey Summerhayes wrote:
Dan Bensen wrote:
How do you pass the current state
of the game to deeper plies without creating new grids?

(setf (aref grid x) player-token)
(do-alpha-beta grid (1+ ply) (next-player player-token))
(setf (aref grid x) #\Space)))

I see. This even works for Go. What about chess and checkers?

--
My name is dsb, and I'm at prairienet, which is an O-R-G.
.