Skip to content
Sign upLog in
← Back to Community

Tick tack toe

Profile icon
Maksim07082008

How can i program a online mode?

Voters
Profile icon
SAIFALLAAHMED
Profile icon
BananaJellyfish
Profile icon
Maksim07082008
Comments
hotnewtop
Profile icon
RYANTADIPARTHI

what do you mean online mode? You can program tic tac toe, but i don't know what you mean by online mode.

Profile icon
tussiez

You can run a server that passes the X and O positions to each player in NodeJS

Profile icon
BananaJellyfish

what program are you using?

Profile icon
Maksim07082008

@BananaJellyfish
I use Python.

Profile icon
BananaJellyfish

@Maksim07082008
it may be hard to program an online game in python. however, i think you would need to use the database(https://repl.it/talk/learn/Python-Data-Base-Tutorial/117319) to store the data of where players place x's and o's.

Profile icon
SixBeeps

@Maksim07082008
A Flask and/or Django server may be what you want.

Profile icon
Maksim07082008
Profile icon
BananaJellyfish