Helpful Ideas to get started
This game should create a series of hidden symbols which the player needs to guess which symbols and the order. The symbols are !, @, &, and %. The string created using these symbols should have them in any order. The user gets to say how many symbols are in the string. Once the user selects the number, then the string is created randomly, and the user can then guess. There should be functions for creating the string and for comparing it to the player's choice. The string needs to be passed as a pointer to each of these functions
Hello I do not need you to do this for me just wanting ideas on how to go about getting the symbols to randomly mix up.
I know i need to set each of them = to a number so would
Code:
int Symbol()
{
! = 0
& = 1
% = 2
@ = 3
}
would this work or is there another way to do it?
Code:
int GetRandNum(int Max)
{
return rand() % max;
}
Max would be the number of symbols the user has selected to be in the puzzle.
I guess i dont understand how i get the symbols to jumble. I am a huge novice when it comes to C++ any ideas or help would be appreciated thanks