java implement mementum

When the user hits the space-bar, the state of the game is stored.When the user types an ‘r’ character, the last-saved state of the game is restored.Furthermore, you must achieve this using a faithful implementation of the https://www.oodesign.com/memento-pattern.htmlfinlay it should also have a momento.md that describes how your solution maps to the standard momento pattern. For our purposes, the above linked description or the Gang of Four description count as standard momento patterns.also explain why a momento pattern is not a good solution for general save states in this situation. I.e. if we wanted to save game state between games, momento would not be a good choice – why not?

"Looking for a Similar Assignment? Order now and Get a Discount!