Login In Turing
Author |
Message |
namansetia
|
Posted: Sun Dec 07, 2014 1:49 pm Post subject: Login In Turing |
|
|
Hi there,
I'm making a text-based game for one of my school assignment, but I have to have login in my game and I have no idea how to do it.
So do you know in turing, how do I create a login for the user?
It would be appreciated.
Thanks |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Insectoid
|
Posted: Mon Dec 08, 2014 8:16 pm Post subject: RE:Login In Turing |
|
|
A very simple yet completely insecure and only-for-show method is to just have the usernames and passwords in a text file. Prompt the user for his credentials, then search the text file for the matching username and compare the passwords. |
|
|
|
|
|
|
|