Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Welcome to Open Discussion

2005-10-03
2013-05-08
  • Welcome to Open Discussion

     
    • Ishmael Rufus
      Ishmael Rufus
      2006-09-13

      Undo/Redo feature.

      How is the undo/redo feature implemented in Pocket Sudoku. Is it similar to creating a snapshot of the board state before another move is made. Also is there a history saved that would allow mutiple Undos?

       
      • Emil Andersson
        Emil Andersson
        2006-09-13

        It saves the current grid to a stack, and undo and redo pops this stack. It would however be more memory effecient if it just saved information about what has changed since last time...