Closed fjfnaranjo closed 10 years ago
Thanks! I'm glad you like it.
Do you have any suggestions for how to handle the various storage options for different platforms? I only started coding in Python a month or so ago, so I'm still feeling it out.
My suggestion is: Do not worry about it for now. Keep improving the game core. If you get a strong player base in the future you can work in this non game related issue. For now, just hiding the file prepending a dot is fine for *nix and Mac. If you want a little more elaborated approach try http://docs.python.org/2/library/os.path.html#os.path.expanduser .
EDIT: link
ok i appended the . for unix, linux, and mac. i also implemented a readline completer for the input stuff, which should work on anything which has readline. (i didn't do pyreadline...)
Hello. Nice project!
I just noticed that your game creates a file in the user home (I am using Debian).
I think that you should start the file name with a dot "." to hide it by default. Also, in the future, you should consider the different approaches to configuration storage available as standard procedure in every platform.
Keep up the good work!