Hello, I spent a major portion of yesterday trying to figure things out and didn't get far, so I've come to ask for help.

So, I want to make a game where the gameplay is very similar to tetris with multiplayer over a network. Though I'm confused on how to get data transferred between the classes for the actual game and a class for handling the connection, which extends Thread.

Is there any good guide on this? Or could someone give me a few pointers?

Note that I had to do certain things different from the guide due to deprecated methods, so I'm not even sure in what portion this works.Do you think this class will work for me? Is there any way you think I should improve it?

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org