FJK Home CPE/CSC 480 Syllabus Schedule Lecture Notes Assignments Labs Project Other Links
CPE/CSC 480-F06 Artificial Intelligence
Name:
Status Final
Points: 10
Deadline: Tuesday, Nov. 7, end of lab

CPE/CSC 480 Lab Exercise 6

This lab exercise is about games. We will use a variation of the n-in-a-row game, where you need to align pieces in horizontal or vertical connected areas. Two players take turns placing their pieces on a grid, and the first one to have n in a row wins. This is similar to the Connect Four game, but with a few differences: Pieces aligned diagonally do not count, the playing field is infinite (no boundaries), and gravity does not play a role here (the pieces don't fall down). It is derived from a game called "Simple" described by Dennis Shasha, a computer science professor at New York University, and the author of the "Puzzling Adventures" column in Scientific American.

Your task is to play the game, and discuss various aspects of it. You do not need to program anything for this lab. If somebody knows of an implementation, or a framework that could be used, let me know.

N-in-a-Row Questions

Three-in-a-Row

The objective in this version is to place three pieces in a row vertically or horizontally.

Questions



  • Construct the tree for this game based on the mini-max method. Indicate places where alpha-beta pruning can be used to eliminate branches that will not be taken by a rational player.









  • Four-in-a-Row

    The objective in this version is to place four pieces in a row vertically or horizontally.

    Questions







    Administrative Aspects

    Assignment Submission

    Please submit the answers to the questions above via handin under the L6 folder at the end of the lab on the deadline given above:

    handin grade480 L6 [filename]

    Plain text files are somewhat easier to grade for me, and you can use ASCII art to draw your tree. If you prefer to do it in a more sophisticated manner, feel free to do so. In the past, I've had some difficulties opening some MS Visio files. If you use that program, please try to save it in some non-proprietary format as well (e.g. HTML, PDF, jpg).

    Collaboration

    This assignment can be done as an individual, or as a team consisting of two students. If you do it as a team, make sure to put both names on the sheet.

    Questions about the Assignment

    If you have questions or comments post them on the respective Blackboard Discussion Forum. The grader and I will check that forum on a regular basis, and try to answer your questions. If you answer somebody else's question, you can earn (informal) extra credit that I will consider in situations where somebody's score is close to the next higher grade.

    FJK Home CPE/CSC 480 Syllabus Schedule Lecture Notes Assignments Labs Project Other Links
    Lab-6.shtml
    last modified:
    Tuesday, October, 31, 2006, 09:24:24 PST
    © 2000-2025
    Franz Kurfess