Skip to main content

Timeline for move function, pset3

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Jan 18, 2016 at 13:18 vote accept SurTJ
Jan 18, 2016 at 13:18 comment added SurTJ For some reason I implemented another function call to move in main. That's why my the move function is repeated and the tiles where being swopped back again. The problem is solved now. Thanks Cliff B for looking at my problem and youre usefull input.
Jan 18, 2016 at 11:56 comment added SurTJ I'm also thinking something is going wrong in main but everything seems fine to me and C is leaving me Clueless. I will add in my full code through Pastbin because it seems Stackechange has some trouble showing my program due to the functions. pastebin.com/s2HcFN8V
Jan 18, 2016 at 11:01 comment added SurTJ Thank you for looking at my code and even more also for testing. I'm happy to hear that my function seems to work in your code. I was thinking the same; 'My program reinitializes after every move', but the initializing function is outside of the while loop in main. Draw() is using the current positions and I think I'am storing the results of my swap right.
Jan 18, 2016 at 2:24 history answered Cliff B CC BY-SA 3.0