Docsity

Programming Assignment 1 - Advanced Software Engineering | CSI 5V93, Assignments of Software Engineering

Toggle sidebar
bg1
Programming Assignment 1
Due Feb 4
Create a checkerboard (or chessboard) display that draws a board using alternating
black and white squares, 8 squares in each direction. Default size is 10 pixels per side,
but provide a property that will allow the user to change the size of the square. Provide an
event that allows the user to determine which square has been clicked by the mouse. Use
two parameters X and Y, which can have the value 0-7 respectively. If the mouse is off
the board, don’t fire the event.

Partial preview of the text

Download Programming Assignment 1 - Advanced Software Engineering | CSI 5V93 and more Assignments Software Engineering in PDF only on Docsity!

Programming Assignment 1 Due Feb 4

Create a checkerboard (or chessboard) display that draws a board using alternating black and white squares, 8 squares in each direction. Default size is 10 pixels per side, but provide a property that will allow the user to change the size of the square. Provide an event that allows the user to determine which square has been clicked by the mouse. Use two parameters X and Y, which can have the value 0-7 respectively. If the mouse is off the board, don’t fire the event.