110 likes | 303 Views
Project 4. Chess Queen. Chess Queen. The chess queen can move along any stright line on the chess board. Left and right. Forward and backward. Diagonally. Assignment. Write a program that displays a chess board, with an image of a queen initially in the upper left hand corner.
E N D
Project 4 Chess Queen
Chess Queen • The chess queen can move along any stright line on the chess board. • Left and right. • Forward and backward. • Diagonally.
Assignment • Write a program that displays a chess board, with an image of a queen initially in the upper left hand corner. • Permit the user to move the queen to any square that is a legal move from its current position, using drag and drop. • But only legal moves. • Do not allow the user to move the queen to a square that is not a legal move from its current position. • Permit the user to move the queen to new squares again and again. • Examples on the following slides.
Images • Find your own chess queen image(s). • It is OK to copy images from the Internet or other sources. • Original art work is not required.
Ground Rules You may work with one other person. OK to work alone if you prefer. If you do work as a pair Both members are expected to contribute. Submit a single program. Both members should understand the program in detail. Do not share your work with other students. Before or after submitting the project. OK to discuss the project. Do not copy any other student’s work. Don’t look at anyone else’s program. 9
Ground Rules Except for code posted on the class web site • Do not copy code from the Internet • or any other source. • Write your own code.
Submission • Project is due by 11:59 PM, Monday night, Feb 14. • Deliverables: • Project Folder (zipped) • Zip the entire project folder and submit a single file. • Use the Windows "Send to Compressed Folder" command. • DO NOT use RAR • If you work with another student, include both names in the assignment comments. • Other student submit comment only with both names.