THE GAME OF SIMON Derek Lang Nick Waskewicz EGGN-482 Final Project Overview ‣ Game Details ‣ History ‣ Hardware ‣ Circuit Schematic ‣ Program Flowchart ‣ Obstacles ‣ Potential Improvements ‣ Conclusion ‣ Questions Game Details ‣ Game of memory skill ‣ Objective is to recreate a random sequence ‣ Sequence grows in length with each success ‣ Each button lights up and emits a different tone History ‣ Invented by Ralph Baer and Howard Morrison ‣ Originally manufactured by Milton Bradley ‣ Used the TI TMS 1000 microprocessor (1974) ‧ 4-bit accumulator ‧ 64 or 128 nibbles on-chip RAM ‧ 1KB or 2KB on-chip program ROM Hardware ‣ HCS12 Microcontroller ‣ Red, Green, Yellow, White LED’s ‧ Current-limiting resistors ‣ Momentary Push-Button Switches ‧ Pull-up and pull-down resistors ‣ Audio Transducer ‧ Included on SSMI board Circuit Schematic Obstacles ‣ Debouncing push-button switches ‧ 30ms delay ‣ Generating random sequence ‧ cstdlib.h contains rand() and srand(int seed) ‧ Seed the pseudo-random number generator with free-running counter Potential Improvements ‣ LED and tone stays on for only as long as the button is pushed ‣ LCD for high score and other output ‣ Idle LED sequence/song Conclusion ‣ Game Details ‣ History ‣ Hardware ‣ Circuit Schematic ‣ Program Flowchart ‣ Obstacles ‣ Potential Improvements Questions? Nick Waskewicz nwaskewi@mines.edu Derek Lang dlang@mines.edu