Archive for the ‘php’ Category
Tuesday, July 15th, 2008
John Munsch recently pointed out that there's a bit of a glaring security hole in our login and registration systems: at the moment, we're extremely vulnerable to Rainbow Table attacks. In John's words:
The MD5 hash doesn’t actually protect you if someone were able to dump your table of users or ...
Posted in buildingbrowsergames, code, design, php, security | No Comments »
Friday, July 11th, 2008
Over the course of developing our game, our database has sort of grown organically. As we added a new feature, we'd add the tables we needed to accomodate this feature. While this works(and has been working for us just fine), it's not neccessarily the best way to design your database ...
Posted in DRY, buildingbrowsergames, code, database, design, perl, php | No Comments »
Wednesday, July 9th, 2008
In the interest of DRYing out our code a bit, there's another change we can make: our database connection code.
Every time that we want to work with the database, we need to connect to it in order to do anything - and so far, we've just been copying and pasting ...
Posted in DRY, buildingbrowsergames, code, design, php | No Comments »
Thursday, July 3rd, 2008
Yesterday, we worked through setting up the initial database structure for our items system - today, we're going go write the code that we'll be using to retrieve our items.
The code to retrieve our items is relatively simple - it's just a couple of functions for retrieving information on items. ...
Posted in buildingbrowsergames, code, php | 4 Comments »
Tuesday, June 24th, 2008
While we've been building our game, we haven't really been focusing too much on securing our game against users who haven't logged in yet. Most of our pages rely on the fact that the user needs to be logged in to see them, and they'll break horribly if the user ...
Posted in buildingbrowsergames, code, design, php, security | No Comments »
Tuesday, June 17th, 2008
For all that we've built a banking and a combat system, we need a way for users to heal themselves after combat now. So today, we'll be building the healer page.
For once, we don't need to add any new stats to our game - we'll be working off of the ...
Posted in buildingbrowsergames, code, php | No Comments »
Friday, June 13th, 2008
Earlier, we built a combat system with which players can fight monsters, and gain gold when they defeat those monsters. Today, we're going to build a bank for them to put that gold into.
To begin with, we'll add another link to our index page - this link will go to ...
Posted in buildingbrowsergames, code, php | No Comments »
Wednesday, June 11th, 2008
One of the things that virtually all browsergames other than mafia games have is some sort of battling system - users encounter monsters, and then they fight those monsters in order to gain gold, resources, and so on. And that's what we're going to build today.
To begin with, we're going ...
Posted in buildingbrowsergames, code, php | No Comments »
Thursday, June 5th, 2008
So we added stats to our registration process, but we haven't actually added anything to show players what their stats are - that's what we'll be doing today.
One thing that almost every browsergame has(but ours is missing right now) is some sort of currency - whether's that gold, lira, or ...
Posted in buildingbrowsergames, code, php | No Comments »
Tuesday, June 3rd, 2008
The other day we pulled together all that we've built so far into the basic skeleton of what we'll need to build our game, but we didn't actually add anything to it to set it apart from any of the myriad other browsergames out there. Today, we're going to start ...
Posted in buildingbrowsergames, code, php | No Comments »