Hi. Welcome to the ranch!
That's an awful lot of code.
Maybe you can point out the relevant bits? And please
UseCodeTags when posting code to get the pretty formatting that makes it easier to read
>My main issue seems to be that I am unable to read in an integer from my server that determines first player and second player
Well what are you seeing? Does it do any output?
Are there any error messages?
Does it log connections successfully?
There are a couple of places where you catch and "swallow" exceptions.
At the least
you should log them to record they happened. It might show you where your mistake is.
Right now it won't even tell you if something is wrong.