Sunday, March 1, 2020

Lab4

For lab 4, our group chose to do option 1 and 4.

Part 1 proved the most challenging. Our group managed to get the input to only receive numbers from the user (after several kind of embarrassing mixups between hexadecimal values and their decimal equivalent). We couldn't get the numbers to add though, and this kind of fell to the wayside while we finished part 4.

For part 4, we chose to start the screen on black. Pushing an arrow key will increment or decrement (depending on direction) the colour we store in the screen and redraw the screen. The most challenging part was getting the proper line on the text screen to highlight.