En Fri, 23 Mar 2007 20:42:33 -0300, mona bin jubair <[EMAIL PROTECTED]>  
escribió:

>   i want to ask about the algorithm's steps of saving  
> games(sudoku,battleship)?

First determine what goes into the game "state" (that is, what defines the  
current state of the game). Perhaps you also want some history. Then, save  
that game state: using pickle, or a database, or even a simple  
ConfigParser file. See http://docs.python.org/lib/persistence.html

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to