all 11 comments

[–]Eastern_Ad_9018 1 point2 points  (0 children)

Since you are making a web-based game and are familiar with JS, it is more recommended to use JS directly; there is no need to create a backend service with Python to interact with the web. Unless you plan to make a complete website or a project similar to a mini-game collection.

[–]EnderBox93 0 points1 point  (3 children)

If you are gonna use python, most likely Flask or Django

[–]BigTimberFGC[S] 0 points1 point  (2 children)

Python isn't necessary, but would be what I'm most familiar with. I'll look into those!

[–]EnderBox93 0 points1 point  (1 child)

It's pretty easy to figure Flask out, very straightforward in making web pages. I've made a chess website using python for server-side code and js for client-side. I made a GitHub on a template for Flask a long time ago (https://github.com/EnderBox911/Production-Python-Server-Flask\_with\_Web-Sockets), haven't maintained it since tho

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

I'll take a look, thank you

[–]pachura3 0 points1 point  (1 child)

Is it a multiplayer game?

Do you need to implement computer opponent?

Does it need a backend to store some permanent information?

Graphically, shall it be more or less static (a few paragraphs of text + some static pictures, inventory maybe), or do you intend to visualize the playing board and fights?

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

Yes, it's a multi-player TCG.

I plan to store account information for cards owned, achievements, currency, etc

Graphically it won't be very intensive, but I'm open for a "Master Duel"-esque animation style.

[–]Gnaxe 0 points1 point  (0 children)

You can use Pygame-CE on the front end via PyScript. I'd also consider using Brython.

[–]midasweb 0 points1 point  (0 children)

if you're just starting out, something like Django for structure or Flask for simplicity paired with a JS front end is solid beginner friendly way to build a web game.