Project on OOP. Course 1, semester 2. The game I am developing is similar to “Online weight loss exercises with friends.” I have a server program that only I have, and a client program that connects to my server. A lot of clients can connect to my server at the same time. I have a system of rooms (or lobbies, or groups) that the client creates, or rather, the client asks the server to create a room and then the server connects that client to it. Other clients can also ask the server to connect them to this room if they have the room name, or they can create their own. There is also message transmission and synchronization of client variables to the server and to other clients. I also used an SQLite database that only the server has access to, and clients ask the server, for example, to check whether the login and password for their account match or not. If they match, they log into their account with their name, or they can also register in the database. They also send a request to the server, which checks whether such an account already exists or not, and if not, it registers it. The server has data for each client that is currently connected, such as their name, room number, and TCPClient. Rooms also have their own properties, such as which exercises are currently being performed, the name of the room, and whether the training has already started.
-
Notifications
You must be signed in to change notification settings - Fork 0
1Laggy1/TrainTogether
About
Project 1 year, second half of university
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published