I need another opinion on the code so I arranged a meeting with James to talk me through some of the principles on how to design a system. Is there a structured way to organise all the functions I am trying to write and what kind of hierarchy could work?
James started to describe how you can make classes of functions, by having a player manager which then looks after a player function and restricting access to what information is sent and received between functions.
James then suggested he would have a look at what I was trying to code and write his own version. I’m still a little confused as to how the structure of the code could be laid out, so I agreed for James to start writing his own version.