This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:discrete:fall2021:projects:pnf3 [2021/09/23 00:43] – Added submission tutorial via lab46 smalik3 | notes:discrete:fall2021:projects:pnf3 [2021/09/23 06:09] (current) – Added reference for TIC-80 "missing" manual smalik3 | ||
---|---|---|---|
Line 7: | Line 7: | ||
=====Objective===== | =====Objective===== | ||
+ | |||
Using the TIC-80 fantasy console simulator on your pi, implement a program that visually displays a graph of the timed results of your various prime algorithms (brute force, brute force + optimizations, | Using the TIC-80 fantasy console simulator on your pi, implement a program that visually displays a graph of the timed results of your various prime algorithms (brute force, brute force + optimizations, | ||
Line 46: | Line 47: | ||
For the displaying of time, since we will be measuring and graphing multiple instances, it may prove useful to store the largest value in a variable and use it to calculate your bound(s) for the time axis. You could also do so statically, which would be more consistent, but has the potential to be less rewarding. | For the displaying of time, since we will be measuring and graphing multiple instances, it may prove useful to store the largest value in a variable and use it to calculate your bound(s) for the time axis. You could also do so statically, which would be more consistent, but has the potential to be less rewarding. | ||
+ | |||
+ | === Upward versus Downward === | ||
+ | |||
+ | While you may be able to scale and display data appropriately, | ||
+ | |||
+ | In order for the bottom left to be treated as the origin (as we expect in a normal graph), the pointers must be subtracted from their respective maximum-possible value from the scaler. | ||
+ | |||
+ | If we were to assume 50 is the maximum possible x-value, then we do " | ||
+ | |||
=====References===== | =====References===== | ||
https:// | https:// | ||
+ | |||
+ | https:// | ||
https:// | https:// | ||
Line 55: | Line 67: | ||
=====Submission===== | =====Submission===== | ||
+ | |||
+ | In order to submit the game file, our " | ||
+ | |||
+ | //Of course, if you are using the TIC-80 application on your Pi then the file will exist there when saved.// | ||
To submit this project using the **submit** tool, run the following command at your lab46 prompt: | To submit this project using the **submit** tool, run the following command at your lab46 prompt: |