I'm developing an online game (NOT a flash game) and obviously, when a player wants to fight or whatever with another person, but alas that person is offline, I need him to be able to fight the player still, against the code, so to speak. Not really sure which language I would program this is in, so if it's not PHP, please state which it is, if you know.