You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
netpong/todo.txt

9 lines
1019 B
Plaintext

1. ---IN PROGRESS--- Implement the multiplayer aspect of the game - detect if M_CLIENT or M_SERVER is set, and perform appropriate actions (e.g. M_CLIENT could control left paddle, M_SERVER could control right paddle).
2. ---- SHOULD BE DONE ---- Fix decoding function - segfaults if code is invalid.
3. Try to make the ball go between screens.
4. ALMOST DONE - Add better exception throwing and handling
5. Finish adding comments for the other files.
6. ---DONE--- Fix the 'sendAll' and 'recvAll' methods in Sock. Instead of calling the parent function with a parameter in the children functions, set a variable in the children functions (set it to a different value in the 'Client' implementation and the 'Server' implementation). This variable can be accessed by the parent method, and it can perform the appropriate action
7. Add code to handle the positions received by client and paddle. Also, make the server send the ball position each time, and have both client and server send a message if the game is quit.