kingd12 Posted June 30, 2023 Posted June 30, 2023 Hi all, I have installed the quiz module which functions like a basic multiple choice quiz game. However, I would like to make some changes to the game mechanics to make it more challenging and fun. So far the module just shows a question, 4 choices, and checks the answer on submit. I want to add things like: A timer for each question Lives system, players lose a life on incorrect answer Difficulty levels with different point values Hints players can use Bonus questions for extra points However, I'm not sure where to start making these changes to the existing module code. Can anyone provide some guidance for how to edit the game mechanics and which files I should modify? Any tips for implementing things like a timer, lives system, scoring, and difficulties would be very helpful. I have the following module files: quiz.php (core logic) quiz.inc.php (model) quiz.hooks.php quiz.tpl.php (templates) quiz.styles.css module.json Any help getting me started would be greatly appreciated! Please let me know if you need any additional details or code examples. Thanks in advance! king Quote
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.