-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2042c9
commit 1b2140e
Showing
35 changed files
with
6,965 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
QT += core gui | ||
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
CONFIG += c++11 | ||
|
||
# You can make your code fail to compile if it uses deprecated APIs. | ||
# In order to do so, uncomment the following line. | ||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 | ||
|
||
SOURCES += \ | ||
arithmetic_problem.cpp \ | ||
controller.cpp \ | ||
game.cpp \ | ||
gamewindow.cpp \ | ||
main.cpp \ | ||
mainwindow.cpp \ | ||
resultwindow.cpp \ | ||
second_main.cpp \ | ||
settingswindow.cpp \ | ||
uml.cpp \ | ||
view.cpp \ | ||
windowwithgame.cpp | ||
|
||
HEADERS += \ | ||
arithmetic_problem.h \ | ||
controller.h \ | ||
game.h \ | ||
game_fwd.h \ | ||
gamewindow.h \ | ||
global_struct_of_game.h \ | ||
json.hpp \ | ||
mainwindow.h \ | ||
resultwindow.h \ | ||
second_main.h \ | ||
settingswindow.h \ | ||
uml.h \ | ||
view.h \ | ||
windowwithgame.h | ||
|
||
FORMS += \ | ||
GameWindow.ui \ | ||
mainwindow.ui \ | ||
resultwindow.ui \ | ||
settingswindow.ui \ | ||
windowwithgame.ui | ||
|
||
# Default rules for deployment. | ||
qnx: target.path = /tmp/$${TARGET}/bin | ||
else: unix:!android: target.path = /opt/$${TARGET}/bin | ||
!isEmpty(target.path): INSTALLS += target |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"number" : 15, | ||
"0" : { | ||
"problem": "65 + 5", | ||
"answer": 70 | ||
}, | ||
"1" : { | ||
"problem": "2 + 2", | ||
"answer": 4 | ||
}, | ||
"2" : { | ||
"problem": "7 * 4", | ||
"answer": 28 | ||
}, | ||
"3" : { | ||
"problem": "8 - 2", | ||
"answer": 6 | ||
}, | ||
"4" : { | ||
"problem": "32 - 10", | ||
"answer": 22 | ||
}, | ||
"5" : { | ||
"problem": "2 * 3", | ||
"answer": 6 | ||
}, | ||
"6" : { | ||
"problem": "9 / 3", | ||
"answer": 3 | ||
}, | ||
"7" : { | ||
"problem": "14 / 7", | ||
"answer": 2 | ||
}, | ||
"8" : { | ||
"problem": "245 - 41", | ||
"answer": 204 | ||
}, | ||
"9" : { | ||
"problem": "5 * 6", | ||
"answer": 30 | ||
}, | ||
"10" : { | ||
"problem": "7 - 8", | ||
"answer": -1 | ||
}, | ||
"11" : { | ||
"problem": "3 * 4", | ||
"answer": 12 | ||
}, | ||
"12" : { | ||
"problem": "5 + 5 + 5", | ||
"answer": 15 | ||
}, | ||
"13" : { | ||
"problem": "45 / 5", | ||
"answer": 9 | ||
}, | ||
"14" : { | ||
"problem": "34 + 4", | ||
"answer": 38 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"number" : 5, | ||
"0": { | ||
"problem": "11 * 3 - (25 / 5) * 2", | ||
"answer": 23 | ||
}, | ||
"1": { | ||
"problem": "(85 - 6) + 3 - 60 / 2", | ||
"answer": 52 | ||
}, | ||
"2": { | ||
"problem": "88 / 2 + 6 - 15 / 5", | ||
"answer": 47 | ||
}, | ||
"3": { | ||
"problem": "22 + (85 - 88) * 2", | ||
"answer": 16 | ||
}, | ||
"4": { | ||
"problem": "(55 + 5 - (32 + 1)) / 3", | ||
"answer": 9 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"number" : 10, | ||
"0": { | ||
"problem": "55 + 5 - (45 + 5)", | ||
"answer": 10 | ||
}, | ||
"1": { | ||
"problem": "4 * (3 + 4)", | ||
"answer": 28 | ||
}, | ||
"2": { | ||
"problem": "9 - (30 / 5)", | ||
"answer": 3 | ||
}, | ||
"3": { | ||
"problem": "(17 - 3) + (7 - 5)", | ||
"answer": 16 | ||
}, | ||
"4": { | ||
"problem": "(13 - 4) / 3", | ||
"answer": 3 | ||
}, | ||
"5": { | ||
"problem": "45 / 5 - 4", | ||
"answer": 5 | ||
}, | ||
"6": { | ||
"problem": "6 * 7 - 2", | ||
"answer": 40 | ||
}, | ||
"7": { | ||
"problem": "90 - 40 + 5 - (5 - 4)", | ||
"answer": 54 | ||
}, | ||
"8": { | ||
"problem": "32 - 5 + 3", | ||
"answer": 30 | ||
}, | ||
"9": { | ||
"problem": "(76 + 4) / 4", | ||
"answer": 20 | ||
} | ||
} |
Oops, something went wrong.