This is an old revision of the document!
Corning Community College
CSCS2330 Discrete Structures
Using the TIC-80 fantasy console simulator on your pi, implement a program that visually displays a range of values (lower and upper bounds adjustable by the user) that colorfully displays whether each value is a prime or composite value.
The algorithm you are to implement is the trial-by-division brute force (naive: NO optimizations)
Time how long it takes to execute (displaying elapsed time for the run at its conclusion; this is useful for comparisons).
Additionally, the entire class will be participating in documenting and filling out this project page. It is the responsibility of EACH class member to:
As it is an intentionally minimally optimized (in a way, optimally suboptimal) method, going about this task will be relatively simple, relying on three major areas: user interaction/input, prime checking, and visual output. Chronologically, upon run, the program will execute essentially the following steps: