Larry Learner -- An AI Program
Contributors:  David L. Anderson: Design
Robert T. Arrigo: Programming
Tony Kuzola: Design, Programming
Andy Schmidgall: Programming

Overview:

[No_Image]
MODULE DESCRIPTION:

Larry Learner is an artificial intelligence program that plays a simple game with 10 pencils called, "Last One Loses." There are two versions of Larry. The first version is a very accomplished player. If Larry goes first, you will lose. If you go first and make a wrong move, Larry will also beat you. There is a second version of the program called Larry Learner. Larry Learner doesn't know how to win, at first, but it learns. It gets better as you play it

Larry & Larry Learner both come in two forms: (1) A windows program that you can download, and (2) a java-script version that you can play online in a browser (See below).

Larry is good at "Last One Loses" but is Larry intelligent? Larry is very effective in classroom situations to help students explore the possibility of machine intelligence. Can a Machine Think? is a module which uses Larry Learner to explore the question of machine intelligence.

MODULE COMPONENTS:

LAST ONE LOSES (The Rules)

The game Last One Loses can be played with any number of pencils (or any other kind of object for that matter). We use 10 pencils. On each move you must take at least one pencil and you can take no more than three. (Thus you have three legal moves: You may take 1 or 2 or 3 pencils.) The object of the game is to force your opponent to take the last pencil. The game is just that simple.

BROWSER VERSIONS OF LARRY LEARNER
WINDOWS VERSION OF LARRY LEARNER

Download Larry Learner now. The program is a self-extracting executable (.exe) program that you simply open and "larry.exe" will come unzipped.

  • Windows Larry Learner (Click to download)
    Contributors:  
    David L. Anderson: Design
    Tony Kuzola: Design, Programming

    Both versions of Larry are built into this program. For Larry, the winning program, choose the "optimal" option in the "game" menu. For Larry Learner, the program that learns to win, choose the "reset" option in the "game" menu. To play a game, choose "play" in the "game" menu. To watch how Larry Learns, choose "show cups" in the "view" menu, choose the "reset" option, and then "play".


Credits:

FUNDING
This module was supported by National Science Foundation Grants #9981217 and #0127561.