Fight rats games using QT under Linux source code
no vote
Every folder that is a QT program! (That is, you must create a directory)
1 mkdir dir
2 create a file CD dir CC/CPP
3 qmake-project generate project files. Pro
4 qmake generated makefile
5 make
6 default build directory executable file with the same name!
7./execute and view the results!
Game to fight rats: layout, button, signals and slots, time, scores
When you press one! Another bounce!
Disable all, enable a random!
Added a new feature:
1, automatic jump! Cycle (timing):
QTimer:
2, the count! Number displayed! QLabel/QLCDNumber
3, start, pause, resume, quit!