Posts

Showing posts from June, 2017

6/29/17

Image
Today I finished my Unity project. In addition to what I built yesterday, I added some obstacles  to make the game harder. I programmed the 'Bad Guys' to run in the direction of my my character. If one of my Bad Guys touch my character, the character will disappear and a "you lose" message will be displayed. If the character collects all the coins without getting hit, the bad guys will disappear and "You Win!" will appear on the screen. The game works pretty well, but my Bad Guys make huge loops around my character, which makes it easy for the character to win. I programmed my game in C. I don't usually program in C, so I enjoyed the challenge. Computational thinking is universal for all programming languages, so I could still follow the logic of the program. I used some conditional statements to make the Bad Guys move towards my character, a loop to make the game run until it was supposed to be over, and I created the variable "Count" to ke...

6/23/17

Today I programmed my buddy, Boe-Bot by copying some of my previous code to a new Arduino Skeleton File. Unfortunately, I did a pretty bad job programming my robot, so Boe-Bot’s a bit of a wreck right now. I couldn’t upload the Whisker Roaming program onto my Skeleton file correctly, so I had to fix a few errors, and now Boe-Bot’s moving in turbulence. With more time, I’d love to work on him some more.

6/28/17

Today I completed my Unity game. I made it so a could control my character with the arrow keys, and could pick up the gems by running into them. The objective is to pick up ten gems, in which case a win message is displayed. I had to make sure there were no errors in my code, and I had to be mindful of what my game would look like when someone was playing it. I used a while loop and some variables to display a message keeping track of the player's score until they won, and all the gems were gone. I'd like people to recognize that my game worked, because I felt accomplished even completing my first game in Unity. If I did this game over again I'd like to make some challenges for my character, to make it harder to win. 

6/27/17

Today I worked on the Unity Project. I made some small changes to my program to the character move faster, and I added some pick-ups to my project. I also made a rock-paper-scissors game on python. It was a lot easier to program than Connect 4, and I had fun making changes to it.   I had to make sure my program was error-free before I could get it to work, and I made a few silly mistakes.

6/26/17

Today we started programming a UFO game on Unity, and started working with Raspberry Pi. I've never used Unity before, so that was a cool experience. I used Raspberry Pi last week, and everything was very familiar to me. I can't wait to program 'Rock, paper, scissors!'

6/22/17

Today I worked some more on the robot. I took off the whiskers  and replaced them with Ir sensors. I also added circuits to the headlights, and copied the code in the power point to a blank Arduino program. I uploaded the program to the robot, but it was unresponsive. I'll defiantly try to fix it tomorrow. I used some functions to make the code less tedious, and I used an if-else statement for my whiskers..

6/20/17

Today I built a robotic car with Parallax, and used a program on Arduino to make it move. I constructed the car with the supplies in the Parallax box, then plugged-in the car to a computer to install a program onto it. Right now the program makes the car move forward forever in a void loop, but if we work on this program more, I'd like for my car to change directions.

6/19/17

Today I reviewed the core concepts in computing, and played Jeopardy. I had a lot of fun doing the Wikipedia challenge, although I was pretty bad at it. It's fun to think that from one Wikipedia page, you can get to any other in a few minutes, just by clicking on links.