Software Design
Below, you will find the pseudo-code and actual C code from our project. If you can't open the files directly, you can save them to your computer and open them in any standard text editor. You can also download the complete pseudocode and source code at the bottom of the page.
We approached the software design process by creating modules for every distinct input and output needed to play our game. Therefore all the modules (except main) are independent of each other. The main module is responsible for implementing the game by calling the other modules when needed.
- Main: pseudocode, implementation
- Ballot motor: pseudocode, header, implementation
- Ballot sensor: pseudocode, header, implementation
- Bank servos: pseudocode, header, implementation
- Card sensor: pseudocode, header, implementation
- Clock servo: pseudocode, header, implementation
- Fan: pseudocode, header, implementation
- Game: pseudocode, header, implementation
- LED: pseudocode, header, implementation
- Potentiometer: pseudocode, header, implementation
- Region buttons: pseudocode, header, implementation
- Vibrate motor: pseudocode, header, implementation

completepseudocode.zip | |
File Size: | 7 kb |
File Type: | zip |

completesourcecode.zip | |
File Size: | 20 kb |
File Type: | zip |