hw1 - CSE 327, Spring 2012 Homework #1: Chapters 1, 2, 3...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 327, Spring 2012 Homework #1: Chapters 1, 2, 3 The following exercises are due at the beginning of class on February 3. Each exercise will be graded for correctness, so please start early and be sure you are confident in your answers. Also, remember that all work should be your own. Note this homework is continued on the reverse side. 1. [15 points] Develop a PEAS description for the following task environments: a) A software agent that can play a computerized version of the following traditional game of solitaire (also known as Klondike): Out of a standard 52 playing card deck, seven tableau piles of cards are created, ranging from one to seven cards, with the top card upturned and the other cards hidden. There are four foundation piles that must be built up by suit from Ace to King. The tableau piles can be built in descending order by alternate colors (e.g, a black 7 can go on a red 8). Partial or complete piles can be moved to another tableau as long as they continue to build the pile down by alternate colors. If all visible cards in a pile are moved, the next card can be turned over. Empty tableau piles can be filled by a pile with a King. In addition to moving cards and piles, the agent can
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/29/2012 for the course CSE 327 taught by Professor Heflin during the Spring '08 term at Lehigh University .

Page1 / 2

hw1 - CSE 327, Spring 2012 Homework #1: Chapters 1, 2, 3...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online