User Tools

Site Tools


notes:discrete:fall2021:projects:clk0

Corning Community College

CSCS2330 Discrete Structures

PROJECT: CLK0

Objective

Using the TIC-80 fantasy console simulator on your pi, implement functional analog wall clock simulation, using second, minute, and hour hands, complete with clock outline, hour labels, and any adorning visual decorations.

You should incorporate some means of setting the time, so one could set the clock to the current actual time and watch it progress.

You may want work out approaches by hand on paper to understand their details and steps of progression, then to implement it.

Additionally, the entire class will be participating in documenting and filling out this project page. It is the responsibility of EACH class member to:

  • ask copious, clarifying questions (so you can better add content)
  • craft a coherent and organized document, with information located under pertinent headings
  • explain the fundamentals of the process, conceptual background, algorithmic approach, and you can even suggest particulars related to TIC-80 (certain functions that might prove useful- individual, unrelated snippets to do things like capturing time, or displaying text, etc.)
  • to get full credit, each individual that submits must perform no fewer than 4 changes to this document as viewable from the wiki revision system (failure to do so will result in documentation penalties being applied)

Specifications

Display

The Math

Radians vs. Degrees

Radius

Trig: sine, cosine

References

Submission

To submit the game file, our “tic” file, the file must be added to your lab46 somehow. This can be achieved through FTP software, such as FileZilla, or more easily by putting the file onto your Pi then pushing to your repo and pulling from lab46.

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:

lab46:~/src/SEMESTER/DESIG/clk0$ submit DESIG clk0 clk0.tic
Submitting DESIG project "clk0":
    -> clk0.tic(OK)

SUCCESSFULLY SUBMITTED

I'll be looking for the following:

104:clk0:final tally of results (104/104)
*:clk0:no errors, program runs without issue in TIC-80 [13/13]
*:clk0:specified functionality is implemented [39/39]
*:clk0:adequate use of graphics resources, decorations [26/26]
*:clk0:project page contributions as per project specifications [26/26]

Additionally:

  • Solutions not abiding by SPIRIT of project will be subject to a 25% overall deduction
  • Solutions not utilizing descriptive why and how COMMENTS will be subject to a 25% overall deduction
  • Solutions not utilizing INDENTATION to promote scope and clarity will be subject to a 25% overall deduction
  • Solutions lacking ORGANIZATION and are not easy to read (within 90 char width) are subject to a 25% overall deduction
notes/discrete/fall2021/projects/clk0.txt · Last modified: 2021/11/04 18:46 by wedge