Language: C++
Now support:
- Give 4~20 solvable cards
- Users gain score by inputting correct answers
- Provide hints if necessary
Main parts:
- Generating a solvable question and an answer (DFS)
- Calculate the correctness of users' answers (Calculate infix expressions, by stack)
This version was first written in 2019 but updated in 2020 as my final assignment for AP Computer Science Principal. There were many defects (goto, cliche, ...) that should be improved.