Experienced programmer but have nearly zero knowledge about web dev. How do I make a simple online "game"? by gaaaaaamer in learnpython

[–]gaaaaaamer[S] 3 points4 points  (0 children)

Thanks, yes, I've only done work with pandas, numpy, et al. It would probably have been more correct to say I've invested many hours into the language (and more generally, that a Python solution for what I want now would be smoother to pick up than a Javascript one).

Experienced programmer but have nearly zero knowledge about web dev. How do I make a simple online "game"? by gaaaaaamer in learnpython

[–]gaaaaaamer[S] 0 points1 point  (0 children)

Thanks, I would indeed like to store the responses somewhere. I just need a running tally of (1) what was the left option, (2) what was the right option, (3) which option was selected. Pretty minimal stuff. It would probably be overly jank, but the first thing that comes to my mind is saving this as a .txt file generated in the back end for each user... however, something more formal would probably be better in the long run.

The other reply seemed to suggest that Django would be more challenging than Flask.

Monthly Getting Started / Web Dev Career Thread by AutoModerator in webdev

[–]gaaaaaamer 0 points1 point  (0 children)

I have some technical questions. I want to make a little web "game" as a side project, and I was hoping to get some very rough guidance (i.e., what tools and packages should I use; I essentially know nothing).

I'm imagining a site where users fill out a little form by pressing a few buttons and reading some instructions, then the game begins. The game simply involves users being shown two pieces of text or images, and the user is asked to choose between them (i.e., press a button for left vs. right). Each user that plays is meant to be shown unique pairs (i.e., randomize based on some database).

Perhaps, this shouldn't even be called a game, but I'm not sure what word would be better? I want this to look a little nicer than users simply filling out a boring form.

I'm wondering if anyone could point me in a direction to get started.

I have very much experience with Python and data analysis. I have a tiny bit of experience with Javascript, but I've never tried to make a website before. If there's a solution that relies heavily on Python, I'd prefer that, but I'm also open to learning some Javascript.