I'm working on creating a custom module, mostly for practice using the Drupal API (yes, I could probably use CCK, then override the theme in my theme folder). This module would allow users to create 'Jeopardy' like games where one user creates the game, and other users can then play the game. I teach in a classroom with an interactive whiteboard, so the plan for me is to create the games, and then use them with my students.
I have the settings working fine, I have the creation of the node appearing fine, and I have the view of the form (including Javascript and local CSS that allows the user to select a question, just like in Jeopardy, and have it appear when it is selected, and then be replaced with the next question when it is clicked. I've also set up the JS so that it keeps track of which questions have been asked).
What I'm not sure how to do is actually save the custom fields in the database, and then call them back when I need them later. Basically the fields I have are 'categories', the number of which can be set in the Jeopardy settings, and 'questions' for each category, again the number of which can be set in the Jeopardy settings.
I could create a custom submit button which rearranges the information the user has used into the HTML I use to display the node later, but I'm not sure how I would undo these changes later. Also, I intend to add functionality, like being able to sort through the questions or categories (to see what questions have already been created).