Hi,
I coded a game, some years ago now, and am trying get back into coding so excuse the stupid question, but it was a one player game with the basic structure:
What i want to do is adapt it to include two players, I was wondering what sort of structure i could / should use (if there is a nice way of doing it) instead of having a a whole bunch of 'if' statements laying around. Also all the 'movement', 'score', 'end game' etc... code exist in their own functions and can be used independantly by each play obvisouly, so its really just the do-while i want to optimise.Code:do { ****** } while(c != 27 || score > 0);
Appreciate any help, thankyou.