Monday, June 19, 2017

End of Semester Self-Evalution

END-OF-SEMESTER SELF-EVALUATION
I WOULD LIKE YOU TO DO AN EVALUATION OF YOURSELF IN RELATION TO THIS CLASS. THIS WILL NOT COUNT IN ANY WAY TOWARD YOUR GRADE, HOWEVER IT IS REQUIRED TO COMPLETE THE CLASS. PLEASE ANSWER THE FOLLOWING QUESTIONS, NOT NECESSARILY IN THE GIVEN ORDER.  PLEASE FEEL FREE TO ADD ANYTHING ELSE YOU WOULD CONSIDER APPROPRIATE TO HELP ME UNDERSTAND HOW THIS COURSE WENT FOR YOU.
* HAS YOUR APPROACH TO  Coding  CHANGED DURING THIS COURSE  OR COMPARED TO OTHER COURSES OR PROGRAMMING LANGUAGES THAT YOU HAVE TAKEN OR TAUGHT YOURSELF?    IF YES HOW?
* HAVE YOU ATTITUDES OR FEELINGS ABOUT  Coding  CHANGED?  
* HOW DO YOU FEEL YOU PERFORMED IN  THIS COURSE?
* WHAT WOULD YOU DO DIFFERENTLY IF YOU HAD A CHANCE TO  DO THIS ALL OVER AGAIN?         
* HOW DO YOU FEEL THE COOPERATIVE/TEAM  LEARNING APPROACH WORKED IN THIS COURSE FOR YOU?  
* WHAT ELSE WOULD YOU LIKE TO ADD THAT I DID NOT ASK?


  1. My approach to coding changed as I started looking and examining the code more carefully as I had to think about which type of element I had to add to make the program fully functional.
  2. My attitudes and feelings about coding changed as coding is much harder than it seems. But, you get the hang of it as you do coding more and more.
  3. I thought I performed well in this course as I fulfilled the requirements for the course assignments and labs. (including final project)
  4. I felt that the team learning experience grew a lot as I got used to communicating and working together with my peers.
  5. How were the assignments? The assignments were really straight-forward but took some time to understand it well as there were no clear examples and definitions.

Checklist for Other People's Projects

Check off list for final projects

  1. Does your project/program work?
Majid: The program does work with no more errors anymore. (once had errors from certain computers)
Itai: The program does work.
  1. Does the project pseudocode provide you with enough information to understand what the program is going to do?  If not what suggestions do you have?
Majid: Yes, the project’s pseudocode provides enough information to help me understand the program.
Itai: Yes, the pseudocode is very straightforward and clear.
  1. Have you provided an overview of what your project/program will do. This needs to be a “Read me” file. The “Read Me” file document needs to be in your folder on the Z drive(labstudents) as well as posted on your blog.
Majid: Yes, explains to me step-by-step on how to play the final version of the game.
Itai: Yes, very clear on taking me through on the program.
  1. Does the project/program meet all of the requirements?  If not what is missing?
Majid: No, missing  while statements, boolean objects, arrays, etc.
Itai: Yes.
  1. Is a peer able to run your project without your help?  If there are many questions asked by your peer evaluator, double check to write out these instructions as part of the read me file or redo your program so that it eliminates the questions.
Majid: Yes
Itai: Yes
  1. Are there errors in logic; spelling; in documentation or programming logic-is there an easier way to do this program?  
(project creators: Allow enough time to correct them!)
Majid: There are errors with the timer going off but Majid’s computer did not have that error.
Itai: No errors I found.
  1. Final suggestions to improve the project or program?
Majid: Change the timer code since it heavily affects the code if the variables are off.

Itai: Make the coding look a bit neater and the program is very good! :)

Final Class Reflections

Josh Lim
1.     Briefly describe the projects/assignments you accomplished in this course. Along with just completing the final project, I completed all the bare minimum of exercises, labs, and classwork in all of the major units that we have done.

2.    What did you learn that surprised you? I am surprised that all of the coding that we have learned individually was able to come together and make a big compatiable program.

3.    What challenged you in this course? How did you meet the challenge? I think the main challenge was for me was time because even though I didn’t struggle as much with the units anymore, I take a long time and sometimes use more time than I expected. I met this challenge by asking more questions to my peers and working together on the exercises more.

4.    What would you do differently if you have a chance to do any of your projects again? Why? If I had a chance to do the project again, I would’ve organized the program a lot better as it would’ve saved me a lot of time. (i probably wouldn’t even need to work at it out-of-class)

5.    What have you discovered about yourself as a learner? As a learner, I have discovered that I really enjoy putting together programs that I individually have created on my own.

6.    How did the projects you created connect to your understanding of programming? The project I created connected to my understanding because it forced me to apply all I knew into one program which is a good experience for me.

7.    Thinking back to a particular project or your final project complete the sentence.  Regarding the Shapes Lab assignment, I discovered that I enjoy manipulating shapes and using them for a program later I can create.

8.    How did this learning relate to your goals (personal, academic, or professional)? This learning related to my goals because focusing and staying positive, I am able to complete any assignment I would need to (including personal, academic, and professional goals)

9.    How did this learning relate to the things you are learning in your other courses ? This learning related to the other things in my course because this course helped me talk and communicate with my peers.

10. How have you grown as a student this semester?
What do you wish we had more time to do? I have grown more as a student this semester by staying persistent and being able to ask for help whenever I can.

Final Programming Project Reflection



Please answer the following questions:

  1. Describe the incremental and iterative development process of your program, focusing on two distinct points in that process. Describe the difficulties and/or opportunities you encountered and how they were resolved or incorporated. In your description clearly indicate whether the development described was collaborative or independent. At least one of these points must refer to independent program development; the second could refer to either collaborative or independent program development.
You will need to write around 150-200 words to do a good job
When we were making the game, we wanted to make a program that has branches and when different responses are entered by the user. the game would permanently change and it will be different. By having many types of ways you can play the program, it would be more fun to see the variety of ways you can play the game. Also, the battle mechanics have also added a nice touch to the game such as attacking or taking cover. Working with David, we were able to fix each other’s syntax errors and pass around ideas on what could we do to make this program even more fun when people play it. For example, we made different branches that led to completely extraordinary levels and monsters you would come across depending on your responses in the game. While I worked on half of the levels, I made them each unique by adding a twist to each monster (such as random number generators and patterns you could use to defeat the monster).

  1. Capture and paste the program code segment that implements an algorithm that is fundamental for your program to achieve its intended purpose.

Your code segment must include an algorithm that integrates mathematical and/or logical concepts.

Describe how each algorithm functions.
public void PepeBoss() {
  // Done by Josh Lim
  // Pepe Boss Fight
    String name;
  
    Scanner input = new Scanner(System.in);
 int a = 0;
    int b = 50; // Monster's HP
    int c = 20; // User's health points
    int d;
    int e = 0;
    int f = 20; // Monster's damage
    int g;
    int h;
    int boomerang = 4;
    int boomatk;
    int crit;
    int rod = 3;
    int pepe;
    int num7;

System.out.println("__________████████_____██████");
System.out.println("_________█░░░░░░░░██_██░░░░░░█");
System.out.println("________█░░░░░░░░░░░█░░░░░░░░░█");
System.out.println("_______█░░░░░░░███░░░█░░░░░░░░░█");
System.out.println("_______█░░░░███░░░███░█░░░████░█");
System.out.println("______█░░░██░░░░░░░░███░██░░░░██");
System.out.println("_____█░░░░░░░░░░░░░░░░░█░░░░░░░░███");
System.out.println("____█░░░░░░░░░░░░░██████░░░░░████░░█");
System.out.println("____█░░░░░░░░░█████░░░████░░██░░██░░█");
System.out.println("___██░░░░░░░███░░░░░░░░░░█░░░░░░░░███");
System.out.println("__█░░░░░░░░░░░░░░█████████░░█████████");
System.out.println("_█░░░░░░░░░░█████_████___████_█████___█");
System.out.println("_█░░░░░░░░░░█______█_███__█_____███_█___█");
System.out.println("█░░░░░░░░░░░░█___████_████____██_██████");
System.out.println("░░░░░░░░░░░░░█████████░░░████████░░░█");
System.out.println("░░░░░░░░░░░░░░░░█░░░░░█░░░░░░░░░░░░█");
System.out.println("░░░░░░░░░░░░░░░░░░░░██░░░░█░░░░░░██");
System.out.println("░░░░░░░░░░░░░░░░░░██░░░░░░░███████");
System.out.println("░░░░░░░░░░░░░░░░██░░░░░░░░░░█░░░░░█");
System.out.println("░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█");
System.out.println("░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█");
System.out.println("░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█");
System.out.println("░░░░░░░░░░░█████████░░░░░░░░░░░░░░██");
System.out.println("░░░░░░░░░░█▒▒▒▒▒▒▒▒███████████████▒▒█");
System.out.println("░░░░░░░░░█▒▒███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█");
System.out.println("░░░░░░░░░█▒▒▒▒▒▒▒▒▒█████████████████");
System.out.println("░░░░░░░░░░████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█");
System.out.println("░░░░░░░░░░░░░░░░░░██████████████████");
System.out.println("░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█");
System.out.println("██░░░░░░░░░░░░░░░░░░░░░░░░░░░██");
System.out.println("▓██░░░░░░░░░░░░░░░░░░░░░░░░██");
System.out.println("▓▓▓███░░░░░░░░░░░░░░░░░░░░█");
System.out.println("▓▓▓▓▓▓███░░░░░░░░░░░░░░░██");
System.out.println("▓▓▓▓▓▓▓▓▓███████████████▓▓█");
System.out.println("▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██");
System.out.println("▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█");
System.out.println("▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█");


    if (e == 0) {  
        while (b > 0) {
        System.out.println ("You have " + c +" health points");
        System.out.println ("The health of the monster has " +b);
        System.out.println ("The frog has an AK-47 but doesn't know how to aim so it is 40% that he'll shoot you in the head.");
        System.out.println("You can either: \n1.) Attack with your sword (5 dmg) \n2.) Attack with your boomerang \n3.) Take cover (never get hit)");
        d = input.nextInt();    
        pepe = (int)((10 - 2 + 1) * Math.random() + 2);
         if (d==3) {
            System.out.println("\nYou took cover! There's no way you could be shot from here!");
            c = 20;
            pepe = 6;
        }
        if (c <= 0) {
 System.out.println ("You died.");
 System.out.println ("Respawning you to last checkpoint (before boss battle)\n");
System.out.println("________");
System.out.println(" ( )");
System.out.println("  \\../");
System.out.println("   )(");
System.out.println("  /  \\");
System.out.println(" (::::)");
System.out.println("~~~~~~~~");
 b = 50;
 c = 20;
 e = 0;
} else {
  if (4 >= pepe) {
      System.out.println("\nPEPE NO-SCOPED U OFF THE FRONT LINES WITH THAT NICE RNG!");
      System.out.println("You ded. Respawning you back to the boss battle.");
      System.out.println("__________████████_____██████");
System.out.println("_________█░░░░░░░░██_██░░░░░░█");
System.out.println("________█░░░░░░░░░░░█░░░░░░░░░█");
System.out.println("_______█░░░░░░░███░░░█░░░░░░░░░█");
System.out.println("_______█░░░░███░░░███░█░░░████░█");
System.out.println("______█░░░██░░░░░░░░███░██░░░░██");
System.out.println("_____█░░░░░░░░░░░░░░░░░█░░░░░░░░███");
System.out.println("____█░░░░░░░░░░░░░██████░░░░░████░░█");
System.out.println("____█░░░░░░░░░█████░░░████░░██░░██░░█");
System.out.println("___██░░░░░░░███░░░░░░░░░░█░░░░░░░░███");
System.out.println("__█░░░░░░░░░░░░░░█████████░░█████████");
System.out.println("_█░░░░░░░░░░█████_████___████_█████___█");
System.out.println("_█░░░░░░░░░░█______█_███__█_____███_█___█");
System.out.println("█░░░░░░░░░░░░█___████_████____██_██████");
System.out.println("░░░░░░░░░░░░░█████████░░░████████░░░█");
System.out.println("░░░░░░░░░░░░░░░░█░░░░░█░░░░░░░░░░░░█");
System.out.println("░░░░░░░░░░░░░░░░░░░░██░░░░█░░░░░░██");
System.out.println("░░░░░░░░░░░░░░░░░░██░░░░░░░███████");
System.out.println("░░░░░░░░░░░░░░░░██░░░░░░░░░░█░░░░░█");
System.out.println("░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█");
System.out.println("░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█");
System.out.println("░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█");
System.out.println("░░░░░░░░░░░█████████░░░░░░░░░░░░░░██");
System.out.println("░░░░░░░░░░█▒▒▒▒▒▒▒▒███████████████▒▒█");
System.out.println("░░░░░░░░░█▒▒███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█");
System.out.println("░░░░░░░░░█▒▒▒▒▒▒▒▒▒█████████████████");
System.out.println("░░░░░░░░░░████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█");
System.out.println("░░░░░░░░░░░░░░░░░░██████████████████");
System.out.println("░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█");
System.out.println("██░░░░░░░░░░░░░░░░░░░░░░░░░░░██");
System.out.println("▓██░░░░░░░░░░░░░░░░░░░░░░░░██");
System.out.println("▓▓▓███░░░░░░░░░░░░░░░░░░░░█");
System.out.println("▓▓▓▓▓▓███░░░░░░░░░░░░░░░██");
System.out.println("▓▓▓▓▓▓▓▓▓███████████████▓▓█");
System.out.println("▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██");
System.out.println("▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█");
System.out.println("▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█");
 b = 50;
 c = 20;
 e = 0;
} else {
System.out.println("\nPepe shot with his AK-47. It missed!");
}
        if (d == 2) {
            boomatk = (int) ((2 - 1 + 1) * Math.random() + 1);
            b = b - boomatk;
            System.out.println("\nYou hit the enemy with your boomerang! The monster now has " + b + " HP.");
            System.out.println("Pepe shot but he missed!");
        } else {
            if (d==1) {
            System.out.println("\nYou inflicted 5 damage to the meanie.. :)");
            b = b - 5;
            if (b == 0) {
                System.out.println("\nYou defeated one of the meme lords.");
                System.out.println("\nYou returned back to the mage's house and found out the treasure was a necklace.");
                System.out.println("He thanked you and summoned a portal for you to get to the Dragon's Den.");
                System.out.println("TIME TO DEFEAT THE BOSS!\n");
        }
    }else {
            if (b == 0) {
                System.out.println("\nYou defeated one of the meme lords.");
                System.out.println("\nYou returned back to the mage's house and found out the treasure was a necklace.");
                System.out.println("He thanked you and summoned a portal for you to get to the Dragon's Den.");
                System.out.println("TIME TO DEFEAT THE BOSS!\n");
        }
}
}
}
}
}
DragonsDen();
}


You will need to write around 150-200 words to do a good job

For this particular segment I did alone, I created the Castle Level with the boss who can randomly instant-kill you with a random number generator. I added options where you can attack and risk getting killed or taking cover and playing it safe. What is also unique is that using the attack button 7 times in a row can get you killed than taking cover and missing the monster’s attack. Additionally, I added another weapon called the boomerang which has a random number generator as well which determines if you dealt extra damage or not. After defeating the boss, I added in more coding that allowed you to move to the final level of the program, the Dragon’s Den. With this being one of the ways you can go in the game, this boss and the Castle Level are pretty extraordinary and fun to test your luck.