Solved

save function??

Posted on 2004-03-29
6
160 Views
Last Modified: 2010-03-31
Hello,
I want to write a code that allows a card game free cell to be saved,so, a player can come back later and continue playing the saved game.  I have no cidea how to do this? I will be thankfull if any can help.
Thank you
0
Comment
Question by:sh7tot
  • 2
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
mmuruganandam earned 35 total points
ID: 10710984
just store the index of free cells in the text file.  Or if your model is serializable, then serialize your model object and form your view using the stored model.


Regards,
Muruga
0
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 35 total points
ID: 10711655
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10876666
Please proceed with that recommendation.
0
 
LVL 9

Expert Comment

by:mmuruganandam
ID: 10876700
go ahead venabili
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
configure dependency in POM for new database 3 34
ejb wildfly example 2 29
SequenceInputStream example 3 19
Fast way to search item into Java Array (Rhino compatible) 2 31
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question