Posts

Showing posts with the label CSG 117

Programming Logic Final Project Part 2

Image
Hello Internet!!! I am going to show off my final project for my logic/programming class. If you go to THIS link, you can see the parameters of the project. We were able to submit either a flowchart, pseudocode or the actual program for full credit. We were also able to complete more than one for extra credit. I chose to do both a flowchart and pseudocode. This post will showcase my pseudocode. Below is a video explaining my pseudocode and showing it off And below is my actual pseudocode. //Declarations public class Weapon public class Character private double probabilityOfHitting public void setName(String newName)     name = newName        //name setter created        public void setProbabilityOfHitting( double newProbabilityOfHitting)     probabilityOfHitting = newProbabilityOfHitting        //probability of hitting setter created ...

Programming Logic Final Project Part 1

Image
Hello Internet!!! I am going to show off my final project for my logic/programming class. If you go to THIS link, you can see the parameters of the project. We were able to submit either a flowchart, pseudocode or the actual program for full credit. We were also able to complete more than one for extra credit. I chose to do both a flowchart and pseudocode. This post will showcase my flowchart. Below is a video explaining my flowchart and showing it off And below is an image of the actual flowchart. I will make a second post showcasing my pseudocode shortly. 

Unity Box Assignment part 2

Image
So, if you remember, in the last post I wrote about an assignment I had for one of my classes on making a scene in Unity and having a script assign a color to the box. This week, we were given a follow-up assignment in which we were to add to our previous build and make a script that would essentially store each color from each box in an array and then allow you to recall the color from that box and place it back on that same box. The following is a video showing my final product and the functionality. As I state in the video, there is a bug that no matter what I did, I could not get it to go away.  The following is the script I used for this assignment. var objects : GameObject[]; var originalColor : Color[]; function Start () {                  originalColor = new Color[10];               originalColor[0] = GameObject.Find("Cube0").re...