One of the biggest issue with first part of All-in-One Solitaire was super bad code written by me.
So doing any modification was quite painful.
Game “Undo” action was one of the things, that caused me problems. While lots of players asked for multi-step undo feature, with my code, I could hardly realize even a one-step undo. 🙁
That’s why I decided to make All-in-One Solitaire 2 from the scratch.
Finally, I have some progress, a well made (I hope so) system that can handle different card games with multi-step undo action and many other features.
It’s better to see the feature in this demo:
All that thanks to great book, Game Programming Patterns, which is available for free on a website and specifically to Command Pattern, that made my code much cleaner and functional.
Meanwhile, I have added lots of new layouts to All-Peaks Solitaire, and I will add one more game mode soon.
Also, All-in-One Solitaire and 3 parts of All-in-One Mahjong games were improved with Portuguese and Italian translations, as well as with “Share” button.