Derekdrc / SoftwareEng2

Coding assignments for Software Engineering 2
MIT License
0 stars 0 forks source link

RPS Peer to Peer #1

Closed Derekdrc closed 1 year ago

Derekdrc commented 1 year ago

Attempting to let the second player go to a website (localhost / 127.0.0.1) and choose rock, paper, or scissors and take that selection from the webpage and use it in the concurrent running local GUI. Have attempted to use Flask with multiprocessing, as well as just python Socket, most of which is commented out for easy access.

Derekdrc commented 1 year ago

At the end of the day all I need to do is be able to play the second player of a RPS game on a separate device. Does not need to be P2P or sever hosted specifically, any way to get it done will suffice as long as a second device can continue the game that is running in the GUI. From my understanding, all I need is the webpage to send an int (1, 2, or 3) back into the main .py program running the GUI and using that integer as player 2's choice.