#ulog (11): I Wrote A Simple Game With Python 3 On My Android Phone!

in #ulog6 years ago

image

Hello Everyone!

As you've all probably known, I'm a programming enthusiast. However, I don't have all the gadgets I need to practice. So, with the little I've got, I make the most out of it. I just completed a text based simple game using "Qpython3", an Android version of Python 3 of which I taught myself. It's a game I titled, LUCKY NUMBERS.

image

The code isn't really sophisticated and it took me a short time to write the code on the editor (Qpython3). As I said earlier on, I don't have gadgets (like a laptop) that would have made my work easier. So, after writing the codes on paper yesterday, I copied it to my phone editor today and the code length is just 27 lines. The play of the game is simple, you choose a number from 0 to 9 and it reveals your luck for example:

image

As you can see, choosing 0 tells you that you'll be given a brand new Range Rover next week!

I'm really looking forward to hear your views on the code or your suggestions. I'd also like to know more about developing with Python. As I said earlier, I'm self taught. So, if there's any open source learning platform out there, please endeavour to let me know.

Thanks for your time,
I'm @tobah.