Design Thinking Programming Challenge (S)

  • Design Thinking Questionnaire – results 

Our Design Thinking Questionnaire had many choices and from all the people who submitted responses we were able to clearly see that they wanted either a website for PE classes to list how many  IFs you have left and updates when someone submits one or an App that allows people to order Starbucks drinks. From there Joel and I chose to create an app for Starbucks as whilst surveying many people were enthusiastic about that idea.

  • Design Thinking Sentence to summarise chosen idea

Our HKIS community is lacking an efficient way to get Starbucks drinks and/or food so we are creating an app to make it faster to get Starbucks by ordering online so we can reduce the line at Starbucks and save time for students and teachers.

  • A list of equipment needed for project

computer and phone

  • Flow chart

  • Pseudo Code

  • Code project with at least 3 references (sited)

link 1 I used this link to help me switch screens when a button is pressed.

link 2  I used this link to help me understand how to run the emulator and work it.

link 3 I used this video to help me understand how to change the button image in app inventor.

  • Screenshot annotations and linked on Git Hub

*not possible as we are doing APP inventor. The code will be discussed in the meeting  😀

  • Images / video introducing your project and a working prototype

  • Testing Document – showing various tests over the project creation

https://docs.google.com/spreadsheets/d/1L-5Q5Ia3bkWO9XlrJ-mFdSIVgfmPzJLJgW80JiFQmvs/edit#gid=0

  • Evaluation of final summative project and and your own reflection in I2P this semester

This project was very fun as a group to work together on. Because of the Design Thinking it was something that our community felt was needed and as Joel and I are apart of the community we also felt like we were affected by that too. Therefore while developing the code it was very interesting and fun. Joel and I both had little experience in App Inventor therefore we had to overcome some of the obstacles while using it however I think we both did a good job navigating through App Inventor and the Design Thinking process which we have had practice with before. I think that this final summative was the most fun as we made a questionnaire, went out and interviewed people, and created a prototype.

Overall Intro to Programming has helped solidify my coding concepts and knowledge along with teaching me how to search up and use resources online, design thinking, and the different languages we learned. This class has taught me valuable pieces of information that I can carry for the rest of my life.

Final project questionnaires

From my form I was able to find that 100% of the people Joel and I interviewed wanted a website for PE classes to list how many IFs you have left and it updates when someone submits on. The second highest was a website that allows people to order Starbucks drinks so there isn’t a long line and they can just come to pick it up. 

I2P (S) Makey Makey with Balance Board Challenge

 

This project was a partner project in which Davis and I worked together to come up with prototype/ solutions to the issues that the client (HKIS upper primary) needed. Rachel and Rohan (Clients) told us that the requirements were to design a timer system for the balance board. Along with that we had to make sure that when the board lifts off the ground the timer begins and when the board hits the ground the timer stops.

 

1) With Davis, we were able to produce the following for the client:

A working version of the Balance board project in

A) Scratch : This is a link to the solution using Scratch.

B) Python : The python solution can be found in the video below as I explain how the code works and our solution/prototypes for each part. 

2) Video with Scratch and Python :

3)

Scratch testing sheet : link 

Python testing sheet : link

4) References: 

I used this link to help me get started with the Stopwatch on scratch : link 

I used the following links to help me get a better Idea on the Tkinter library and how to make a timer with it : link 1, link 2, link 3, link 4

 

Wednesday 22nd November Lesson

Task  1: I think that Code Combat is definitely more fun and interactive with the “game like” experience however I’m not sure if, in terms of long term, it will improve our coding as effectively as Code Academy

Task 2: I think that R and Python are similar in the way that the language you type is more similar to english unlike Java Script however there are some key differences in the syntax for R and Python such as when you want to add a value to a variable.

Task 3:

for Makey Makey I think a cool idea would be making some sort of X-box or PS4 controller and have the board inside the controller.

Make a musical instrument such as a guitar or drums on Makey Makey

Make a vending machine in Arduino

I2P (S) Balance Board findings/update

Pseudo code :

  1. Set a variable called time
  2. Set variable Name as input of what the user says their name is
  3. If board is no longer touching the ground then increase time by 1 every second, else keep time at 0  a.k.a do nothing with time
  4. If board touches ground and completes a circuit, then print users time along with the name else continue to increase time by 1 every second
  5. Set all variables back to 0 or clear them so they will store new stuff for the next player
In the past two classes in a group I was able to create working code for a Balance Board in Scratch.
  1. What worked? Over the two classes was worked well was that Davis and I were able to share our different thought processes on how the Balance Board Code would be and the solutions to this. Also the construction of the Balance Board, we worked swiftly and well together.
  2. What didn’t work so well? We weren’t very fluent with Scratch so we had to perceiver a lot to figure out how to do it which was payed off.
  3. Things to find out for next class? For next class I think I need to find out more how to do .text files in python as we will be starting that soon. As for the scratch however, I think just making the visuals better would help along with better flow and structure of the game.
  4. What would you like to appear on the screen? On the screen I would like the “Cat” sprite to talk to the user by asking for their username and do the count down and then the timer starts in the top left corner. After that I want the previous scores to be added on the Score list which is always on the left hand side.
  5. Time in (HH:MM:SS?) For us, time is working very well. Since we are working in Scratch  we are unable to have hours minutes and seconds however the Time is displaying exactly how we want it to (in seconds and on the Score board)
  6. Does the time count up or down? As a group we decided that the time should be counting up. I was able to implement that into the Scratch Code as every time after the “Cat” sprite finishes the countdown, the time increases by 1 every second. And I think this is best for the game to function.
  7. Can the user input their name? Yes, in the beginning before the time starts the “Cat” sprite asks the user “What’s your name?” and this then is called later when I insert the answer to the question for the scoreboard.
  8. How does the timer stop and record each users time? At the beginning of every new try, the “time” variable is set to zero. From there, the “Cat” sprite asks a question and then counts down. After the “Cat” sprite finishes the count down I have a “repeat until” function which states that every 1 second, time will change by 1. This basically means that every 1 second time increases by 1. This function repeats until the left arrow key or right arrow key is pressed. The timer then records each users time by inserting the users name and the variable “time” at the top of the Scores list.
  9. How can you record the users time to a text file?Currently because we are working on the Scratch Code, we can not do the text file however we will do our best attempt at the text file for the python code.

I2P (F) Using Scratch & Investigating Makey Makey -w/ Block based programming

In these lessons we learned more about scratch and makey makey boards. I learned and got a hands on experience with the makey makey boards for the first time. Scratch is a very simple yet powerful tool for coders. In the makey makey lesson my partner and I were able to create a sound board. Some fun projects is a cup stacking game however it will be very difficult.

 

Programming Task (F) Adventure Game (3 lessons) Lesson 7a,b,c

Pseudo code

Make a function called def Game() :

  Make a variable called userName that gets raw_input from “What is your name?”

  Then print(“Welcome”,userName,”Welcome to the amazing adventure game!”)

 

  Make a variable called partyAnswer that gets input(“You’re invited to a party! Would you like to go? Yes = 1 No = 2”))

   Make an if else statement that either you move on or game is over

 

  Make a variable called partyPlace that gets input from “You are now at the party. Where do you want to go? Dance = 1 TheCorner = 2”)

   Make an if else statement that either you move on or game is over

 

  Create a variable called partyGames that gets input of “Someone asks ‘HEY YOU ARE SO GOOD AT DANCING, WANNA PLAY SOME GAMES?”

  Make an if else statement that either you move on or game is over

 

  Create a variable called test that gets the input of (“OH NO! YOU REMEMBER YOU HAVE A CODING TEST TOMORROW. DO YOU LEAVE + OR STAY AND RISK FAILING ON THE TEST. ))

   Make an if else statement that either you move on or game is over

 

Then at the end call the function

 

flow chart

video of my game working

Coding practice video

 

Blog Reflection: Lists

From our coding lesson today I was able to learn more about lists and what certin things do to the list. For example if you print(max(fruitList)) it will print the largest of the list and this is very useful for score keeping (such as game scores)

Lesson 5a and 5b

In these few lessons we were able to learn more about importing libraries by making Guess my number and Guess my word games. In both of these projects we had to import the library called Random. Along with that we did more practice with While loops for each guess that the user made and If statements . Along with that we just started working with turtle. In the code we did for turtle we imported a library called Turtle and you can code the turtle to draw things for you.