User Tools

Site Tools


Sidebar

projects

wcp1 (due 20240124)
pct0 (bonus; due 20240125)
pct1 (bonus; due 20240125)
abc0 (due 20240131)
pct2 (due 20240131)
wcp2 (due 20240131)
gtf0 (due 20240207)
pct3 (bonus; due 20240207)
wcp3 (due 20240207)
dtr0 (due 20240214)
pct4 (due 20240214)
wcp4 (due 20240214)
bwp1 (bonus; due 20240228)
mmf0 (due 20240228)
pct5 (bonus; due 20240228)
wcp5 (due 20240228)
cnv0 (due 20240306)
gfo0 (due 20240306)
pct6 (due 20240306)
wcp6 (due 20240306)
cnv1 (due 20240313)
fwg0 (due 20240313)
pct7 (bonus; due 20240313)
wcp7 (due 20240313)
fwg1 (due 20240320)
pct8 (due 20240320)
wcp8 (due 20240320)
pct9 (bonus; due 20240327)
wcp9 (due 20240327)
bwp2 (bonus; due 20240410)
fwg2 (due 20240410)
fwg3 (due 20240410)
gfo1 (due 20240410)
pctA (due 20240410)
wcpA (due 20240410)
cpp0 (due 20240417)
pctB (bonus; due 20240417)
wcpB (due 20240417)
cpp1 (due 20240424)
pctC (due 20240424)
wcpC (due 20240424)
pctD (bonus; due 20240501)
wcpD (bonus; due 20240501)
gfo2 (due 20240508)
pctE (bonus; due 20240508)
wcpE (bonus; due 20240508)
EoCE (due 20240516)
haas:spring2024:cprog:projects:fwg0

Corning Community College

CSCS1320 C/C++ Programming

PROJECT: Fun With Games (FWG0)

OBJECTIVE

Obtain the latest stable release of Vircon32, along with its DevTools, and modify the “hello, world!” demo to display an image, along with modified text (content, position, attributes).

As has been the case with many projects this semester, you will also be contributing to the project documentation, detailing the necessary steps to obtain, configure, build, and use the items being focused on.

With clarification gained from asking any needed questions, you will proceed to craft useful documentation with the rest of the class. The final result should allow anyone to accomplish the task.

If you struggle with how to form questions, perhaps consider utilizing the college learning commons to receive assistance with forming good questions.

NOTE: Do not add the source code to Vircon32 or DevTools to your repository! Process these outside of your repository. Once installed, your files specifically related to your modified “Hello, World!” cartridge should be added to your repository.

EDIT

You will want to go here to edit and fill in the various sections of the document:

FWG0

URLs

The GitHub repository for Vircon32 and DevTools Can be found at: https://github.com/vircon32/ComputerSoftware/releases

This site will provide zip files for both and how to install them.

Build from Source

Install the Emulator and the DevTools outside the Lab46 repository. It is recommended to do this on your Pi and the following steps is for the Pi. Download the following from the GitHub repository linked in previous section

Vircon32-Emulator-24.3.2-RaspberryPi4-Raspbian.zip

Vircon32-DevTools-24.2.4-RaspberryPi4-Raspbian.zip

Unzip these files which provide a similar file name with a .DEB file extension

vircon32-emulator_24.3-2_armhf.deb

vircon32-devtools_24.2-4_armhf.deb

To install these use the following commands:

     sudo dpkg -i vircon32-emulator_24.3.2_armhf.deb
     sudo apt-get install -f 
     
     sudo dpkg -i vircon32-devtools_24.2.4_armhf.deb

The base path for the install is /opt/Vircon32/Emulator

To run the Vircun32 API, change to the emulator directory and run ./Vircon32

There's a hidden task bar near the top of the screen that shows up when your mouse is near that shows multiple actions you can do.

Cartridge build process

compile
assemble
image processing
packing the ROM

Using the Vircon32 API

displaying text

A basic way of displaying text would be to set the ( x, y ) coordinates of the starting point, followed by printing your text. Below is the example from the Hello World tutorial.

    // draw our text near the top-left of the screen
    set_drawing_point( 20, 120 );
    print( "Hello, World!" );
processing textures and regions
displaying a region at location
 

SUBMISSION

To be successful in this project, the following criteria (or their equivalent) must be met:

  • Project must be submit on time, by the deadline.
    • Late submissions will lose 33% credit per day, with the submission window closing on the 3rd day following the deadline.
  • Executed programs must display in a manner similar to provided output
    • output formatted, where applicable, must match that of project requirements
  • Processing must be correct based on input given and output requested
  • Output, if applicable, must be correct based on values input
  • Code must be nicely and consistently indented
  • Code must be consistently written, to strive for readability from having a consistent style throughout
  • Code must be commented
    • Any “to be implemented” comments MUST be removed
      • these “to be implemented” comments, if still present at evaluation time, will result in points being deducted.
      • Sufficient comments explaining the point of provided logic MUST be present
  • No global variables (without instructor approval), no goto statements, no calling of main()!
  • Track/version the source code in your lab46 semester repository
  • Submit a copy of your source code to me using the submit tool by the deadline.

Submit Tool Usage

Let's say you have completed work on the project, and are ready to submit, you would do the following:

lab46:~/src/SEMESTER/DESIG/PROJECT$ submit DESIG PROJECT file1 file2 file3 ... fileN

You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches.

RUBRIC

I'll be evaluating the project based on the following criteria:

52:fwg0:final tally of results (52/52)
*:fwg0:submitted adequately modified demo code for project by duedate [13/13]
*:fwg0:all files needed to build cartridge are submitted [13/13]
*:fwg0:code compiles, cartridge builds with no warning or error [13/13]
*:fwg0:committed project related changes to semester repo [13/13]

Pertaining to the collaborative authoring of project documentation

  • each class member is to participate in the contribution of relevant information and formatting of the documentation
    • minimal member contributions consist of:
      • near the class average edits (a value of at least four productive edits)
      • near the average class content change average (a value of at least 1024 bytes (absolute value of data content change))
      • no zero-sum commits (adding in one commit then later removing in its entirety for the sake of satisfying edit requirements)
    • adding and formatting data in an organized fashion, aiming to create an informative and readable document that anyone in the class can reference
    • content contributions will be factored into a documentation coefficient, a value multiplied against your actual project submission to influence the end result:
      • no contributions, co-efficient is 0.50
      • less than minimum contributions is 0.75
      • met minimum contribution threshold is 1.00

Additionally

  • Solutions not abiding by spirit of project will be subject to a 50% 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 or otherwise maintaining consistency in code style and presentation will be subject to a 25% overall deduction
  • Solutions not organized and easy to read (assume a terminal at least 90 characters wide, 40 characters tall) are subject to a 25% overall deduction
haas/spring2024/cprog/projects/fwg0.txt · Last modified: 2024/02/26 13:15 by 127.0.0.1