This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: ECE 175 - Computer Programming for Engineering Applications Final Project Due on Wednesday December 5, 2008 11:59 PM. This is a hard deadline. No late submissions will be accepted. The final project may be done in groups. The group may contain up to 4 members. Each member in the group is expected to have put in approximately the same amount of effort. MASTERMIND IN NUMBERS Write a program that simulates the "MasterMind" game, where numbers will replace colors. [See http://www.irt.org/games/js/mind/ ] Game Play The program will generate a random K-digit number where every digit may take on values from 1 through B. The attempts to guess this number. For every guess, the program will give a feedback based on the following rules: 1. If the number of digits in the input does not match the number of digits in the generated number, the feedback is INVALID INPUT. 2. If the input contains any invalid digit (B+1 or higher), the feedback is INVALID INPUT....
View Full Document
This note was uploaded on 08/24/2010 for the course ECE 175 taught by Professor Grubbs during the Fall '08 term at Arizona.
- Fall '08
- Computer Programming