May-31-2020, 11:54 PM
Hi everyone,
I am learning how to code in Python thanks to a free course. So far it has been fun and the learning curve hasn't been disappointing. I do everything from the JupyterLap Notebook. My level is beginner.
To progress a meaningful task is needed, useful to me but within my reach, so I decided to "port" to python a small game that I developed before in VBA. Also, I want to abandon VBA.
The game is rather elementary: I am learning a foreign language, and every time I learn a word I add it in a table with its meaning and other information. The game prompts me with a word in English and 3 choices in the foreign language (currently I do this in Excel with a userform), and I need to guess the right translation.
As I said, a pretty simple concept. Its real implementation is slightly more complicated because it can ask me a word in English or my native language, and it tracks my mistakes so that if I get a word wrong, it is asked again pretty soon. Future planned additions to this code involve adding "hints" and other trinkets, but I will add them to the Python version instead.
It would be very helpful if you could give me some direction on how would you set yourself up to do a mini-project like this.
Some of the things where I need direction:
Thank you if you will consider giving me some advice, both on the three points above and on anything I haven't even thought about.
HCB
I am learning how to code in Python thanks to a free course. So far it has been fun and the learning curve hasn't been disappointing. I do everything from the JupyterLap Notebook. My level is beginner.
To progress a meaningful task is needed, useful to me but within my reach, so I decided to "port" to python a small game that I developed before in VBA. Also, I want to abandon VBA.
The game is rather elementary: I am learning a foreign language, and every time I learn a word I add it in a table with its meaning and other information. The game prompts me with a word in English and 3 choices in the foreign language (currently I do this in Excel with a userform), and I need to guess the right translation.
As I said, a pretty simple concept. Its real implementation is slightly more complicated because it can ask me a word in English or my native language, and it tracks my mistakes so that if I get a word wrong, it is asked again pretty soon. Future planned additions to this code involve adding "hints" and other trinkets, but I will add them to the Python version instead.
It would be very helpful if you could give me some direction on how would you set yourself up to do a mini-project like this.
Some of the things where I need direction:
- Where would you code something like this? The Jupyter Notebook or Atom can be used as text editors I guess, but would you install Git to have a "version control" system, or is it like killing a fly with a cruise missile?
- Which of the thousand libraries would you use to read/write files where the "dictionary" and other things are stored? I could probably write a CSV parser but I guess using a library is best practice?
- At the very beginning the I/O will be in a terminal but my aim is a GUI, and I would love to run this one day on my phone. Again, we are talking about selecting one option out of three so it will be something simple and static.
Thank you if you will consider giving me some advice, both on the three points above and on anything I haven't even thought about.
HCB