Slight difference to the proposed code in which I factored setting the password rather than keeping it inside the RunMainMenu() just to try and future proof initially as I know it’s going to get more complex with a selection of passwords and randomisation of letters to give the anagram to guess.
Nice work Lee and nicely formatted code.
Just as a heads-up, you can copy/paste your code directly into the forum and then apply the code formatting to it so that it displays the syntax highlighting and so on. This can make it a lot easier to read but also, in the case of asking a question and needing help, other people can copy/paste back a chunk of your code, perhaps with a correction or suggestion, without having to spend much time typing it all out.
Hope this is of use
See also;
- Forum User Guides : How to apply code formatting within your post
1 Like
cool, i’ll try this out on the next reply
Thanks Rob
Lee.
1 Like
No problem, you’re very welcome Lee