Presentation is loading. Please wait.

Presentation is loading. Please wait.

By Sam Whisenhunt 11/14/2014. Featured Personalization Login with your personal account to keep up with your w/l ratio and bragging rights!

Similar presentations


Presentation on theme: "By Sam Whisenhunt 11/14/2014. Featured Personalization Login with your personal account to keep up with your w/l ratio and bragging rights!"— Presentation transcript:

1 By Sam Whisenhunt 11/14/2014

2 Featured Personalization Login with your personal account to keep up with your w/l ratio and bragging rights!

3 Begin By Setting Up the Database Perpetrators will be shot with spam mail, is what we might say if someone random intrudes on this production site. However we begin by setting up a simple message to let random players to know the database holding the files is not a public site, rather very private. Next we let others know the qualifications to run this program that uses PHP. Utilizing the link will allow others to see what version of PHP is being ran.

4 Qualifications This image displays a sample of the version of PHP that is being used to produce the WBG Card Game.

5 Week 2 For the Win! This week we focus on finishing up the database to allow the game to hold all of our lovely players. No database is good without an Admin to look up to. Here we create the database login and password to allow us access to the database later.

6 Privileges Here we swear in our newly appointed database admin with all the privileges of a true hero. Much because this will be the only account created for this production. Using phpMyAdmin will allow the owner to check in on the database and tables.

7 Creating Tables Now that we have our database created, we can now create tables to give it reason to exist. After several imports later, we have tables to hold players, variables, and data that will be used when the game runs. Each table fills a role that is important.

8 Variables of the Player Table Here is the table for Player that holds the id, name, email, login, password, and timestamp. More importantly we give each variable a correct value. Such as password having the password value.

9 Finished Player Table The image shows our first player “Mickey Mouse” sporting some rather impressive credentials for a login and password.

10 Connecting the Database Take a deep breathe as we use a php file named settings.inc to hold the information needed to connect to the database. Remember the “admin” account that was created in the first week, here we use it to gain access to the database much like a master key.

11 End of Week 2 When complete, we have three more players eagerly waiting to begin Week 3.

12 Week 3 Is Here Before we can start logging in, we must first create the panel to ….log us in. To do this we use the properties to design the panel. And Modify to convert it to a symbol.

13 Panel in the Making Now we have our panel named login. Behind it holds the functions for logging in which is held on Login.

14 Finishing Touches on Login After adding a second image as a shaded background for a 2D look, we begin adding text boxes and labels to authenticate the look for our login panel on the left.

15 Login vs Register Below we have the information used to create the Login and Register buttons using positioning and giving the buttons instance names to be used to give life to the buttons.

16 End of Week 3 Finally we have a ravishing login screen that is ready to rock! However we do not get the joy of utilizing this feature until week 4.

17 Week 4: Login Like-A-Boss In week 4 we find ourselves mastering the login capability which we will need for the remainder of the project. As you see in image 1, we left off with the console. After adding a bit of code such as below in image 2, the process to logging into the game with the profiles will be close at hand. Image 1 Image 2

18 Login Panel However, for now we have a set group of profiles created. After registering, enter your login and password to begin!

19 List of Games As you can see, once logged in, you will create a new game so that others will be able to join you for a friendly game of cards. Here we also check that the buttons become active at this time.

20 Status Testing What better way to test if the new PHP files are actively working by running them with a character in mind. Below we use Daisy Duck which results in a successful test run of getPlayers.php among several other files that are added.

21 New Game Started Here we preview a new game that is started with Pluto as the Dealer.

22 Week 5: Let’s Chat After loading the new files and un-commenting previous code to unlock chat, we begin here by looking at the chat panel.

23 Short But Chat If all goes well, you should see the chat box when selected. Here we have two profiles logged into the game and joined to the same table session. As you can see there is little to talk about. Nonetheless, the chat is working and we can now communicate with other players!


Download ppt "By Sam Whisenhunt 11/14/2014. Featured Personalization Login with your personal account to keep up with your w/l ratio and bragging rights!"

Similar presentations


Ads by Google