Bandwidth has nothing to do with it. PHP is server-side, so the scripts are not transferred over the internet.Chris wrote:If you are planning to make a game that will actually do well, where a page will be loaded atleast 5000 times a day. Now calcualate how much bandwidth will be eaten when including two scripts that are only 4kb or constantly loading a file which is 50-60kb.
EDIT: Also, I don't think the whole game should be one page. If you have pages which are radically different, say, a shop screen vs. a field map screen, it should probably be different pages. If you did it this way, you would likely have huge switch statements, or other nested conditionals, which, if hit thousands of times a day, would begin to have some unnecessary performance issues.