working on socket communication after game