Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Login In Turing
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
namansetia




PostPosted: 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
Sponsor
sponsor
Insectoid




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: