The moose likes Java in General and the fly likes Help with creating a game. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

Help with creating a game.

John Michaels

Joined: Jun 01, 2009
Posts: 7
Hello. I'm creating a game where people can set up an account. Their registration information includes but is not limited to a login and a password. The login and the password are used to sign in. I store the sign in information in a player object, and each player object is stored in an Array List called players. How do I prevent the player objects from being deleted when I compile the program. Am I doing this the right way? Should I be storing the players sign in information in a file? If so, I'm not sure how to do this. Please help. Thank you. My code:

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Please do not duplicate thread. Continue in the original one.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: Help with creating a game.
It's not a secret anymore!