2018 PD2 Project 2
sudoku
GUI Version !
Requirement
-
GUI - 20%
- Playable
- Generate puzzle randomly
- Game result display
- Can set custom puzzle by player - 10%
- Can solve puzzle - 20%
Remaining 50% ???
Demo - 50%
- We will ask you to modify your code
- Add some feature
- Change program behavior
- Explain your code
- Maybe more...
- Basic requirements will judge at demo time,so if you didn't attend demo, you'll get 0 point for this project.
- Remember to test your code in our VM, or your code may not work at demo.
Deadline - 5/13
- Do your project as soon as possible
- Don't ask question too late!
- Please fork this repository
Build GUI use Qt
- A C++ library
- Contains many modules
- Also used for Proj.1 battle server
"Qt" `cutie` (X)
"Qt" `cute` (O)
Official document
You have to get Qt classes usage here
Qt short tutorial
Event loop
Start by exec()
signals & events will be processed in event loop
Signal & Slot
Events
void MyCheckBox::mousePressEvent(QMouseEvent *event)
{
if (event->button() == Qt::LeftButton) {
// handle left mouse button here
} else {
// pass on other buttons to base class
QCheckBox::mousePressEvent(event);
}
}
deck
By Liang Yu-Cheng
deck
- 2,127