FJK Home CPE/CSC 480 Syllabus Schedule Lecture Notes Assignments Labs Project Other Links
CPE/CSC 480 Artificial Intelligence Fall 2004
Name:
Points: 10
Deadline: Thursday, Oct. 29, 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 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.

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











Four-in-a-Row

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

Questions



FJK Home CPE/CSC 480 Syllabus Schedule Lecture Notes Assignments Labs Project Other Links
© 2000-2025
Franz Kurfess