8/20/19 Feedback on Blackjack Game

Today in class we played each others Blackjack games and gave comments, feedback and compliments on the games. We wrote down what we liked about each others game and what could be improved about it as well as tips on it.

In particular I was asked to explain a line in my code which contained a question mark an a colon. Now I will explain what the question mark does and what the colon does. The question mark and the colon act as an if else statement. The reason I had to include this line in my code is because of the API’s I used to display my images, the API’s have a number at the end that displays the value of the card. The people that created the API’s wanted uniformity, they wanted the url to be the same length for every card so they couldn’t use 10 because it would make that url longer so instead they used 0. I put that line in the code because I wanted to say that if the value is 10 return 0 if not return the value of the card. Basically if 10 return 0 else return the value of the card.

Password Game

https://www.sharemygame.com/share/a507d2c5-a0af-47e5-99c9-6be53ad09be0

https://drive.google.com/open?id=1E_rSRNJ_L0K80cbPsidEE-J7M7xkZIdI

The Good:  The best part of this section was that I learned how to sort of use unity again and learned how to compose a game and write code so the game does something. I learned how to write code.  I also learned how to fix my code so it runs and works as intended.

The Bad: I had trouble uploading a game to a website. I had a lot of trouble with the code because Anagram did not show up on my code and then I also had to switch and redo the project again because I was in 3D and needed to be in 2D.

 

 

Unit 1 summary

On the first day we downloaded and installed Unity, started to make an object, in this case a car. We also followed the tutorial as a class.

On the second day we kept working on our projects, learned how to use some of the different features in Unity. We learned how to add color to our objects and we inserted assets.

On the third day we learned how to add texture to our objects. I also learned how to create prefabs and make scenes.

On the fourth day we wrote code and inserted the code into an object.

On the fifth day we followed the tutorial on how to add a code in which we could click play on the scene and write something on something that looked like a TV.Screen Shot 2018-11-16 at 12.57.41 PM.pngScreen Shot 2018-11-16 at 12.24.49 PM.png