Create an alternative form of questionnaire

本小妞迷上赌 提交于 2019-12-25 00:56:12

问题


I'm very new to programming in python so I'd appreciate any tips or hints as to where I can look: So what I basically planned on creating is a new form of questionnaire, where the respondent can express approval or disapproval to a question by dragging it from the center of the window into any part of a colored ring that surrounds the question, using the mouse. The ring is supposed to have two color gradients from green to red, and I want to be able to make my program (pygame?) track the position in which the question-icon "touched" the surrounding ring. Also, it should be able to give out the next question, once the outside ring has been touched. To get started, I had a look at existing pygame-code that concerned maze-games, since I don't feel like I'm in the position to write the code on my own, just yet, but that didn't help me a lot. Now, does anybody have tips on where I can look next or get started with this? I'm just asking since at this point I'm unsure whether or not I should even use pygame and look into it, or if maybe some other route would be better. Thanks for reading and for any help, best regards.

来源:https://stackoverflow.com/questions/57049311/create-an-alternative-form-of-questionnaire

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!