Anda di halaman 1dari 5

Lindsey Irizarry Computer Science 8/30/13 Weekly Reflection 1.

Well first I learned how to open up greenfoot and from there I learned 3 concepts. There is a class, which is a group of the same object and can be found on the side under Actor. Then there are the objects, they are the things that are actually in the world. Lastly are the methods which are the commands/instructions that the object is given.

2. I think Im understanding the whole program more, at the beginning of the class I didnt know it existed and I was struggling with just adding a class. Now I know how to do that fairly easy, but I still have much to learn. Im still struggling with what to type in to make the object do different instructions. 3. When I encountered difficulty I just asked a peer or googled it. If either of those didnt give me a solution then I would just play around and rome on greenfoot. 4. Im still wondering how the fish can eat the pearl, like what code do I type in. Eventually, I want to learn how control the fish or object with the keyboard and not just having it do its own thing. When I actually have created a game simple or not, I want to learn how to finalize it for others to view/play. 5. I think this course will definitely contribute to my future because if Im not in the film production business I still want to be centered around technology. Also I think it would just be a handy thing to know considering my generation is revolved around computers and in the future the tech will just be more advanced. September 6, 2013- week 2

1. During this week we watched videos explaining the atWorldEdge concept, which is when an object reaches the edge of the world it will react. I made my object(the turtle) sort of bounce of the edge, basically it moves and turns really fast. 2. Like I said last week I am just getting to understand the program better. Im also getting a hang of coding, so what to type in the editor to make it move and where to type it. I was struggling with getting my turtle to eat another object, but then I just went online and read a few things and I accomplished that. 3. If encountered difficulty then I would just explore the greenfoot program to see if I could figure it out on my own, but most of the time that didnt really work. I ended up searching online for codes and examples I needed which were mainly all on the greenfoot website 4. Im wondering how I can make my little world into an actual game, right now its just the user being able to control the wombat/bear to eat the turtles. I want to know how I could add a timer and once the bear eats the turtle it shows a point or something. 5. I can connect this course to when I was I use to play all these online games, that didnt have the best graphics and what Im learning about just reminds me those games and that I might actually be able to create one. September 13, 2013- week 3 1. Throughout this week we learned many concepts, the first was having the turtle eat the lettuce or collision detection. The next concept was how to clean up the code and add comments for a more organized look. Finally we learned how to add a predator, basically just copy the code from the turtle just change from eating lettuce to eat turtle. Majority of the concepts I had already completed before. 2. Learning the concepts is one thing I am doing well with, once I learn them, I easily understand. Then from learning the concepts to then creating them in greenfoot has been no problem for me. One thing I am struggling with is how to place a timer and scorekeeper on my game, more so get it to work. The whole week I was trying to figure it out, its quite a challenge. I got the counter to appear, but it doesnt work.

3. Once I encountered difficulty I did every time, just go and search what I need on google . On the greenfoot website they have discuss pages, they are really helpful since most of the time people are having the same challenge as me. They provide sample which sometimes help, but overall it is a key tool to help me. 4. Im still wondering how I can get a timer and the scorekeeper to count in my scenario. I want to know how I can get the counter to put place a point upon the screen once the bear eats the pizza. 5. Working on my little world reminds me of the movie Wreck-it-Ralph. When I place the characters/actors in my game I think of the movie because after the arcade closes the actors come to life and have this unique lifestyle. I know that doesnt happen, but it is cool to think about. September 20, 2013 - week 4 1. This week I learned through a lot mistakes and getting help how to make the counter on my game actually count. Mr.Tim helped me through it and there was a lot of trial and error, but in the end the bear eats the pizza which counts for 1 point. The second thing I learned was how to add sound, this was much simpler compared to the counter. You just go to the class and say add sound and write a little code and once my bear eats pizza it makes a slurp noise. 2. I think Im doing well in actually make this greenfoot scenario an actual game. Added the user, the key controls, the enemy, and the thing the user has to collect. Something that I think Im struggling with is where to go when I need to add something, like the counter I was really lost until I got help. 3. This week the only difficulty I encountered was trying to get the counter to operate. As I mentioned before Mr. Tim came and he didnt exactly know what to do either. He kinda took the lead on this while I observed, but you cant just give up right away because every mistake you make gets you closer to the solution. 4. Im still curious on how to add a timer, right now my game isnt that challenging. So I want to have like 20 seconds for the user to collect all the pizzas without being eaten. Later on, I want to learn had to add like levels or stages to my game. 5. Since my game consists of bears and pizzas, my game always reminds me of pizza so I also get hungry. Working in greenfoot also reminds me of the movie the internship, because in one of the scenes they are like writing on glass all this gibberish and now I know it was a form of code. September 27, 2013 - week 5 1. Throughout this week I learned about the interaction of objects. I created a new subclass named Burger, since the object is a hamburger. Once the Bear eats the burger then we had to make another burger appear and we had to make the burger appear in a random place every time. It was definitely tricky, but I successfully got another burger to appear.

2. Its all coming along, Id say Im doing well in asking for help or getting help when its needed. Before I didnt really ask and just flew solo, but my peers and teacher actually do help. 3. This week I had difficulty getting the burger to appear again once it was eaten. Something was wrong with my code and the first time I tried, the burger appeared like a million times. Second try it would just eat it and thats it. So I got through my problem by getting help from Mr. Tim and it was just like two words I needed to cut for it to do the proper thing. So reread the code and then get help. 4. Im still looking forward to getting a timer on my game because then the user has to actually try in time to eat all the food. 5. This course connects my life because it gives me an option on what to study in college. I find coding a creating games pretty interesting and I am a big gears of war fan so creating video games could be a possible calling. October 4, 2013- week 6 1. As of this week we were primarily focused on creating a score counter so that once you the user eats a pizza it counts the points. I was ahead in the class and already achieved creating a working counter last week. The video we watched had showed us how to get the counter to work in a different and I think more difficult way. The good thing was that the video explained why it works. The world, the counter, and the bear are all connected/ linked using code. In the world it recognizes that there is a counter and it sends messages from the bear that it has eaten a pizza. Then the counter reacts and adds a point due to the

2.

3.

4. 5.

bear eating the pizza. It all works together to achieve the goal. This week was pretty laid back for me and didnt have much to do. I think Im doing well in communicating with my table. Through the week I helped them get their counter working and everyday we are becoming more connected. The difficulty this week was figuring out why the counter works. I watched the video twice and asked my peers and I got a clear understanding. Another difficulty this week was that my computer was missing and still is. I did not save my world onto google docs so I had no way to work on it for 2 days. For the time being I just helped others and explained to them how the counter works. When I find my computer I will then download to google docs. Same as last week I am looking forward to adding a timer to my game to make it more challenging and maybe in the future work on a new world. This course relates to my life since this week I was helping others and I think I have always been one of those go to people. Whether it be this class, math, humanities, and so on; it just feels nice to help people and get them to understand.

week 8 Define instance method and give an example An instance method are methods or instruction given to the object, example turn/move - method defined in a class which is only accessible through the Object of the class are called Instance method. Define static method and give an example Static method is on the class example Greenfoot.getMouseInfo or getRandomNumber, you dont need an object to assign this, its more general and given to the class. why and when do Java coders use capital letters this is static why and when do Java coders lowercase letters this is instance