2013-04-30 78 views
1

我正在閱讀一篇關於如何將AI添加到井字遊戲的文章。介於兩者之間,他們有一些代碼段像這樣:在這裏使用什麼語言?

to checkwin :candidate :mysquares :free ;; old program 
if memberp first :candidate :free ~ 
[output check1 butfirst :candidate :mysquares] 
if memberp last :candidate :free ~ 
[output check1 butlast :candidate :mysquares] 
if memberp first butfirst :candidate :free ~ 
[output check1 list first :candidate last :candidate :mysquares] 
output "false 
end 

什麼語言是什麼?
它試圖傳達什麼?

回答