I seem to be having problems with this easter egg game, that I think is due to an array of egg objects getting corrupted. The game works fine, until the values in the array are reset to their original values with the reset button. The code gives an error message when array item (0,0) changes from its initial value, set up in a nested loop. The error occurs in the Egg_stack module.
The code is modified from a prototype I wrote and tested in C, so I know that this part of the program works OK when compiled in C.
I have attached the source code.
The code is modified from a prototype I wrote and tested in C, so I know that this part of the program works OK when compiled in C.
I have attached the source code.