My TripleX Game

Well I have made this tripleX game so far and it is interesting,
I don’t know how to show the code here so I am not doing it so far.
However I had some ideas to discuss here…

First, As we are generation random numbers, the output of the product sometimes become zero…
it means one of the random number created is zero …

How can I stop it from happening? …

Second, there is a flaw in game logic, we are guessing the three numbers of code …

if the game generates different number for each code value.
lets say it generates 4 3 2

and if we guess it in different order … as 2 3 4 … the result is going to be okey …

which seems a bit far stretched … codes does not work like that …
the game runs fine but if we print the generated random numbers on screen… it can show that the game is not running okie …

I do understand that this model of game is used to teach newer to C++ language how to operate on variables …

Privacy & Terms