log 45: algorithm
updates
After many hours of coding and recoding, my exercise selection and program algorithm is finally done! Well … in truth, it can never be done, but that's the beauty of it I think. There’s always going to be something else that I can add so that it makes a better-suited program for the client. However, in terms of steps, this is a big one! My algorithm can now select and make a program based on user-inputted variables. The idea is to let the user think they are in control when in reality they aren’t. Initially, the program only took two variables from the user, total days and workout duration. No further information was shown. However, I realized that it would be better to show the program information to the person instead. Additionally, by asking more questions and getting more data from the user, it would make the process of making the program much easier. I wouldn’t have to assume how many exercise blocks are needed, I can just ask. I wouldn’t have to assume what kind of workout split they want, I can just ask. In this version of the program maker, it feels like the client is the one who is making the program. But the back end of it is all me. After all, I am the one training them. It is up to me to take those variables and determine what kind of exercises are best for them. The program algorithm can currently make three different types of programs; full-body, upper-lower, and push-pull legs. The next steps are to work on the smaller minute details. Things like using similar equipment on paired exercises, filtering exercises based on available equipment, and testing! The testing process will be a difficult one as I need to input some type of failsafe. I wouldn’t want a small error to continually crash the entire thing. That’s a great way to make sure nobody uses my app.