Tip: Use -- pos_x, pos_y = map(int, input("Enter coordinates to fill: ").split(",")) to get the coordinates. It will automatically set them to int as soon as they are input.
I think it is a good practice if you go ahead and learn how to make User Interfaces on your own and then use this as an extension - great way to avoid "tutorial hell" and instead actually learn
bro I really liked your channel and your ways to do the projects but you NEED to explain more details now I don't understand what does socket module do and it functions PLEASE don't make copy past code that I don't understand
Hello! This video is great and I went through the tutorial this weekend. Q: To clarify, if I want to play the game with somebody outside of my LAN, the server will use the private IP that the server is on, and the client (the person outside of my LAN) connects using the public IP of the server?
@@hails1244 The IP you type in the server script should still be the local private IP, then you would use the public IP in the client script when trying to connect to that server. You will need to port forward to open the firewall ports to allow connections from outside the network.
Tip:
Use -- pos_x, pos_y = map(int, input("Enter coordinates to fill: ").split(","))
to get the coordinates. It will automatically set them to int as soon as they are input.
You are the reason I started Python
A UI version on top of this one would be nice.
I think it is a good practice if you go ahead and learn how to make User Interfaces on your own and then use this as an extension - great way to avoid "tutorial hell" and instead actually learn
Sorry, I know your comment is old, this goes to anyone out there
A UI video will be really helpful 🙏🙏🙏
Thats cool but the problem will be that only two people will play a single game since they connect to a one server and one game
funnily enough, I made tic tac toe in python today as well!
What version of python is this? It does not work for 3.10.4
Sir can you make a video on how to make it work globally or via the internet all your projects are awesome and I want to see how to do it via internet
I explained it. Same thing just with firewall port forwarding.
@@NeuralNine sir I have tried to do that but it is not working for me
Please can you make a dedicated tutorial on that
can you make a video on how to make it work globally or via the internet
please
bro I really liked your channel and your ways to do the projects but you NEED to explain more details now I don't understand what does socket module do and it functions PLEASE don't make copy past code that I don't understand
If I want to connect with different people on the world wouldn't they also know my public IP when I use that for the server?
Hello! This video is great and I went through the tutorial this weekend. Q: To clarify, if I want to play the game with somebody outside of my LAN, the server will use the private IP that the server is on, and the client (the person outside of my LAN) connects using the public IP of the server?
Yeah, but you will need to open the port to outside of your LAN by port forwarding
@@red_fire4476 If I host the server on my public IP, can the client connect to me if the client also connects using my public IP?
@@hails1244 The IP you type in the server script should still be the local private IP, then you would use the public IP in the client script when trying to connect to that server. You will need to port forward to open the firewall ports to allow connections from outside the network.
@@red_fire4476 Thanks.
What is these magic suggestions appearing all the time ? :)
Please make this with gui based
Can you upload the code?
This is pretty cool! But I Think it Might be better with a GUI just cause playing through the cmd is pretty boring!
Fucking cool!!!
where is the code
In the video
First!!
Second