CPSC-115 Fall 2008
Project 1
Due: Beginning of class Tuesday September 16, 2008
25 points
Professor Heidi Ellis

Goal: To understand how to create an algorithm

In this project, you are responsible for writing an algorithm to solve a common card game, the game of war. You must represent the algorithm in both outline and flowchart form.

Pairs:

This project is to be completed in the pairs specified below. Both members of the pair will receive the same grade for the project. One of the goals of the course is to understand that software development is a team effort so points will be deducted for projects that are clearly completed by only a single member of the pair.

Pairs

Kristen Anderson, Chelsea Bainbridge-Donner       Catherine Doyle, Jeffrey Young
Jake Elder, Ryan Ersland     Nick Dragu, Corazon Irizarry
Jin Feng Liu, Jesse Vazquez     Greg Vaughan
      Zain Khan, John Wilsterman

Problem:

You must write an algorithm for playing the game of war. Start from the point where two users are handed a new deck of cards. Problem details:

Helps:

Grading:

You will be graded on the correctness and completeness of your algorithm. You should walk through your algorithm several times with your partner to ensure that you have included all aspects of the problem. You may find it helpful to play a game by following each form of your algorithm. This will help you identify any missing areas.

Hand in via hard copy or email the following by 11:20 a.m. Tuesday September 16, 2008:

  1. Your algorithm in outline form.
  2. Your algorithm in flowchart form.