djfox Posted June 6, 2009 Share Posted June 6, 2009 I`m building this browser php based game on my website. Characters will be continuously added on and the user can choose which character they want to work with at any given time (like they will "unlock" characters and will have access to all of them). A function I`d like to have setup is that user can have their unlocked characters interact with one another (by either giving gifts or asking questions, etc) and how the interaction goes will determine whether or not one character likes the other and how much they like/dislike the other character would determine what the response is and based on which character (aka, different personalities). What would be the simplest and easiest way to code for this? I already have a form set where the user would select which two characters would interact with one another, and I have a field in the database for each character to record their like value for the other characters. Quote Link to comment https://forums.phpfreaks.com/topic/161189-advice-on-how-this-system-should-be-coded/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.