Question on LISP

This is a discussion on Question on LISP within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Does any one know what is Legal move generator is? as far as i can see it a programming terminology, ...

  1. #1
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682

    Question on LISP

    Does any one know what is Legal move generator is? as far as i can see it a programming terminology, but i don't understand what does it do, what is the specific use of it and why do we use that much in AI. Help please

    Thanks a lot

    ssharish

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    I'm not sure exactly, but I think it's a program that determines which moves are legal in a board game. For example, in checkers, you could move one of your pieces in front of one of your opponent's, but your opponent would likely jump you. It's a legal move, but not a particularily smart one.

    Perhaps a better term would be something to the effect of "a program that determines desirable moves". That's assuming my guess is correct, of course.

    I also found this: http://www.cs.berkeley.edu/~wilensky...generator.lisp
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    A legal move generator would probably be the first step in a board game AI. The LMG generates moves, and the next part of the AI would then evaluate these moves for desirability.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 12:47 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21