[Eric Nelson]

[Eric Nelson]

Well, hi. My name is Eric Nelson, and I am a Computer Science (Games) major. Here is some cool stuff about my robofriend.

Here is our lecture-excercise team's graphical interface:
[graphic interface]
Here is our code:
"lectureexercise.h"
class lectureexercise
{
public:
void drawSkull();
void drawHeart();
void drawStar();
void drawLove();
lectureexercise();
}



My beepBeat.h for HW6


My beepBeat.cpp for HW6


My full program for HW6!


My Design Document for HW6


Topic:

We will be presenting on the= topic of binary, and how all of computer science can be boiled down to 1's and 0's. I will discuss the significance of binary as it relates to physical transistors on the computer that are used to hold memory. We will discuss the how these 1Õs and 0Õs represent the simplicity of Boolean logic in easy to understand terms.

Engagement:

My demo is a playable music-based game called Binary Hero. The user interface is a graphic consisting of three columns. The first column shows a 'beat' name, which is aligned next to two rows that have an option for 0 and 1. When the Ô1Õ option is clicked for a certain tune, the beat will play in a loop. You can play with the timing of switching beats on and off in order to create your own song. Just like a series of transistors, notes can only be on or off, but these two option lead to a surprising amount of variety when you add enough of them.

Program:

First I will make a class for the beats. Because each beat consists of a series of beeps at different frequencies, it can have a member array to store 5 integers for frequencies. This class will also have member functions that allow the user to change the frequencies within a given beat. The data I will collect from this demo will be the amount of times that users turn on a certain beat, and how many total notes were turned on during each session. This will allow me to evaluate how long students want to play around with the different tones, and which tones were the most popular. I can then graph this interaction data if needed.

User-defined Functions:

writeData- writes how many times a user clicked on each beat to a file of their choice. graphNotes- Visualizes the popularity of the beats played during a session by arranging them with larger font sizes the more they were clicked in-game. graphPlayClicks- Visualizes the average number of clicks per beat and the total amount of clicks in the form of circles whose radii are larger depending on how big the statistic they represent is. changeLoop- Runs at the program start to allow the user to manipulate the beats. evaluate- Function that runs after the game is exited in order to graph and store data.

Print outs of a few run-throughs of Binary Hero:
[run through 1]
[run through 2]
[run through 3]

My HW7


The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees