A trivia game app 答题游戏
这个项目使用 python 3。
This program uses python 3.
运行程序,在输入栏里填入答案,按Check Answer按键进入下一题。每轮有5道题。question.csv
是示例的电影相关题目。如果想换其他的可以用Excel/Numbers创建一个相同格式的表格,命名为question.csv
,导出为csv文件,放入与程序同一文件夹即可。
Run the program. Fill in the answer in the enter box and press the Check Answer button to advance to the next question. There are 5 questions in each round. question.csv
is the sample list of movie-related questions. If you want a trivia game about something else, create a table in the same format with Excel/Numbers(or any other similar apps), name it question.csv
, export it as a csv file, and put it in the same folder as the program.
在第81行window.title("Movie Trivia")
双引号内的标题可以换成自己想要的标题。
Line 81: window.title("Movie Trivia")
Change the string inside the quote to change the title of the window.