From 50ed0b89e9c722ff3eec7182faba1b81508f3f8f Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Wed, 20 Mar 2024 00:10:40 -0400 Subject: [PATCH] Updated TODO --- todo.txt | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/todo.txt b/todo.txt index 462d5f2..bd5f558 100644 --- a/todo.txt +++ b/todo.txt @@ -1,10 +1,9 @@ 1. Add 'install' target to Meson, to allow the user to install the game. This should also copy the .so files to the right locations. -2. Use free() to free allocated memory. -3. Use the struct to establish a connection, and to start each round (instead of sending strings). -4. Figure out how to build statically-linked Mac binary, and create a build script for packaging it. -5. Communicate the paddle reset position to the peer, after a round. -6. Clean up / refactor the raygui code in main.cpp, that asks user for game mode. Instead of just having a giant blob of code in main.cpp, maybe split it into a function, or move it to another file. It should be easy to split it into a different function, since none of the functions take any specific parameters. The text box function, for example, only takes in the rectangle coordinates, and the text to display. I can move the code to a function, and then pass in any parameters that I need to pass in (I don't think I need to pass many parameters, though). -7. Allow the user to specify which paddle they want to control, in multi-player mode. -8. Try to make the ball go between screens. -9. Change the networking code, so that a single server can connect two clients with each other. The server should provide player 1 with a code, and player 2 can connect with player 1 using that code (essentially like a room). -10. [This can't really be fixed, since I'd need to purchase a developer certificate] Sign Windows executable, to remove 'Unknown Publisher' warnings. +2. Use the struct to establish a connection, and to start each round (instead of sending strings). +3. Figure out how to build statically-linked Mac binary, and create a build script for packaging it. +4. Communicate the paddle reset position to the peer, after a round. +5. Clean up / refactor the raygui code in main.cpp, that asks user for game mode. Instead of just having a giant blob of code in main.cpp, maybe split it into a function, or move it to another file. It should be easy to split it into a different function, since none of the functions take any specific parameters. The text box function, for example, only takes in the rectangle coordinates, and the text to display. I can move the code to a function, and then pass in any parameters that I need to pass in (I don't think I need to pass many parameters, though). +6. Allow the user to specify which paddle they want to control, in multi-player mode. +7. Try to make the ball go between screens. +8. Change the networking code, so that a single server can connect two clients with each other. The server should provide player 1 with a code, and player 2 can connect with player 1 using that code (essentially like a room). +9. [This can't really be fixed, since I'd need to purchase a developer certificate] Sign Windows executable, to remove 'Unknown Publisher' warnings.