Hi,
I'm building a math arcade game, and I need some guidance. The idea of the machine is that there will be a series of questions printed out of the machine (thermal printer), the kids will answer the math questions through a numeric keypad, and be awarded tickets from a skee-ball ticket dispenser.
I can create the questions, and print them out with the thermal printer. I can accept input from the numeric keypad, and check that the answer is the same as some value. What I'm struggling with is storing the answers and then checking them later.
My first thought was to store and array in EEPROM for each quiz like so:
(00001, 1245, 356, 755, 4501, 11294)
where the fields are:
(quiz number, answer 1, answer 2, answer 3, answer 4, answer 5)
I suppose those answers could be any number from 0- 19,998 the way I'm currently building them.
I'm not really sure how to store them in EEPROM and then get them back. Maybe the 'test number' is the actual length of the data stored in EEPROM?
So then a kid brings the printout to the machine and enters the 'test number' and that is the address in EEPROM to retreive the answers from? How would I know what the end address was?
I saw the older post and playground about EEPROM Write Anything, but in the playground I have no idea if that is an old post and has been superseded by some other EEPROM libraries or something.
Maybe I should punt on the printout, and start simple with just displaying the question, waiting for each answer and then dispensing the tickets. Or maybe this project would be better suited to a small linux computer where I could store more tests and access them in easier ways?
All thoughts welcome,
Thanks!
Jimmy