Search the Community
Showing results for tags 'engine'.
Found 5 results
So why would one use a php template engine like smarty, other than to seperate the code from html? Is this method preffered for creating larger web applications with php?
Testfunda style test engine required
roshangjha posted a topic in Job OfferingsHi guys, I am the founder of CareerAnna, which can be found at http://www.careeranna.com. We are a startup that came into existence in May 2013. We have grown a lot and have now come to the level when our amateur designing & development skills are proving too little for the website. We need a PHP coder, preferably from India (being from India ourselves) but people from other countries are just as welcome. We would like our website to be a place where people can come to give quizzes that we provide. We would also be providing mocks, tests, etc. and hence, we need a solid test engine that looks good and professional and is easy to build quizzes on. We like the way Testfunda.com 's quizzes work. If possible, kindly take a look at the same. If you can build something like that, we would like to work with you. Feel free to contact in case of any questions. Thanks, Roshan Jha, Founder, CareerAnna.com
How would you approach this? (PHP PBP Engine Advice)
woj56k posted a topic in Application DesignI am trying to figure out how to run a play-by-play simulation(simulator) for a wrestling game(think WWE/F). Wrestler1 and Wrestler2 have 100% health to start and each move from the move database does x amount of damage and deducts y amount of energy. If the move is hit it subtracts from health and energy and outputs 1 of 3 random text strings describing the move sequence. If the move is missed it does nothing to health or energy and outputs 1 of 3 random string describing the move "failure" sequence. Each move will be assigned a move_id, move_name, move_damage, move_energy, move_type, move_section, is_pin, cause_blood in the moves table in the database. move_id = autoincrement move_name = move name move_damage = how much damage the move does if successful move_energy = how much energy the move takes away if successful move_type = Aerial, Impact, Behind, Submission, Strike move_section = which sections can this move be performed in? Entrance, Opening, Early, Middle, Late, Finish, Post(can have more than 1 section per move to add more variety to sections) is_pin = does this move go in to a pin count? cause_blood = does this move cause the opponent to bleed? Match Sections Each section will have a three scenarios picked randomly to allow freshness and unpredictability. Each section will randomly select moves from the wrestlers table for moves which will be defined in the database as numbers and then called upon moves.php to associate numbers with moves. Each move has 3 success and 3 failure play-by-play text entries. If the user is determined to be successful, it will select randomly a PBP text to generate from the 3. (Same for failure) It will generate the play-by-play text and display it on screen, then move on to the next move. Each section, except Entrance and Post, will generate 10 moves by random depending upon which move_section in the database the are allowed to be executed in. Match cannot end until Finish. Trying to figure out how to incorporate a random pinning text allowing only 1 and 2 counts from Early to Late and 3 count(end) for Finish. Entrance Display by random 1 of 5 different entrance text scenarios. Opening Generate 10 moves based on the Opening move_section. Early Generate 10 moves based on the Early move_section. Middle Generate 10 moves based on the Middle move_section. Late Generate 10 moves based on the Late move_section. Finish Generate 10 moves based on the Finish move_section. Post Display by random 1 of 10 different post-match text scenarios. Match Summary $matchwinner defeated $matchloser by $matchfinish(pinfall,submission,etc) at $matchtimelength $matchrating (* out of 5 stars)(based on algorithm of both wrestlers talent, experience, popularity, modifiers, and boosts)(higher match rating = more skill and experience gains) $wrestler1 gained $x points in popularity $wrestler2 lost $y points in popularity Other Notes Match PBP will not show sections. It will be the entrance, grouping of 50 moves, post-match, and then followed by the summary. Files will be match.php, moves.php, match_entrance.php, and match_post.php. (maybe I am structuring this wrong?) This is not a generic attack, defend, kill type of RPG/game I'm just looking for advice. I don't need people to write out this engine because how will I learn? I'm trying gather the approaches some of you more seasoned developers would take in this scenario and in the most effective way possible. Thanks in advance and anything helps!
Currently I have a search engine that retrieves results from Bing, Google and Blekko using API keys. To further improve my project I need to apply query expansion or re-writing. There is no way i'm going to create a manual thesaurus. Is there something I could use for this or how would you go about this? Maybe I can use the rewrite functions present in the search engine's?
how to install lucene
Petani posted a topic in Other Librarieshi all, im planning to build search engine in my web app now. im gonna use lucene for search library. but i dont find how to install lucene for web using. so, can you give me ref. or tut or step by step how to install lucene in web server(localhost)?? so that i can use lucene along with php. please help me all. thanks so much b4.