Skip to content
Online Multiplayer Game in Repl using Pygame and Flask
Profile icon
Kosmic

I am wanting to make an online .io-style game using Python. I will be writing it on repl. I have been looking for a tutorial for a game that uses both Pygame and Flask for a game like this, but have not been able to find anything.
I am somewhat experienced in Pygame, but am completely new to Flask and server-client programs.

Can someone please point me to a good tutorial for this?

You are viewing a single comment. View All
Answered by realTronsi [earned 5 cycles]
View Answer
Profile icon
RYANTADIPARTHI

https://stackoverflow.com/questions/63898998/how-to-integrate-pygame-and-flask

Profile icon
Kosmic

@RYANTADIPARTHI
it looks like nobody has responded to that question yet.

Profile icon
RYANTADIPARTHI

@Kosmic
well, other than that. I don't know any tutorials using pygame AND flaks. But if you want JUST flask, I've got millions.

Profile icon
Kosmic

@RYANTADIPARTHI
I just want to use pygame because it is the only graphics-engine for python that I know of. If you know of a different one that would be equally good/better, that would be fine

Profile icon
RYANTADIPARTHI

@Kosmic
ok, so there's something called turtle, just like pygame, but you can make games, and designs, and animations and all.

Here are a few links:

https://realpython.com/beginners-guide-python-turtle/
https://www.geeksforgeeks.org/turtle-programming-python/

But if you want just pygame, then I'll give a few tutorials for that too.

Profile icon
Kosmic

@RYANTADIPARTHI
Awesome! Do you have any tutorials that use both turtle and flask?

I honestly just need tutorials to make a .io-styled game using flask and a graphics engine

Profile icon
RYANTADIPARTHI

@Kosmic
sure, i'll give you some. But if you want can you mark my answer? Thanks!

Profile icon
RYANTADIPARTHI

@Kosmic
Also one more thing is, i don't think you can use flask to make a game. Cause that's all about making websites. But you can make the game using turtle.

Profile icon
RYANTADIPARTHI

@Kosmic
are you there?

Profile icon
Kosmic

@RYANTADIPARTHI
I am responding to other answers

Profile icon
RYANTADIPARTHI

@Kosmic
oh, ok, have you see mine?