FJK Home CPE/CSC 480 Syllabus Schedule Lecture Notes Assignments Labs Project Other Links
CPE/CSC 480-F05 Artificial Intelligence
Name:
Status Draft
Points: 10
Deadline: Tuesday, Nov. 1, 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 differences: Pieces aligned diagonally do not count, the playing field is infinite (no boundaries), and gravity does not play a role here. 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 write your answers on this handout, or on a separate document, and hand in a paper version at the end of the lab on the deadline given above.

    Collaboration

    This assignment can be done as an individual, or as a team of two students.

    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:
    Wednesday, October, 19, 2005, 17:17:49 PDT
    © 2000-2025
    Franz Kurfess