Friday 30 June 2017

Programming Concepts 2

In class we have been demonstrate programming concepts and on the game code combat I was learning to use the while loop.
I can write code efficiently in class. I can also reflect on my strategy used for the code
in class and I can also add 2 files. The 'for' loop has become our friend and we are discovering that instead of writing code over and over we can write smart code or efficient code and that helps a lot.

Friday 23 June 2017

programing consepts

I am using a python trinket to work out a challenge
we are learning to demonstrate the programing concepts we have also been using to make some
intresting desighns using python trinket. I am using python trinket to work out a maze challenge.
I can also use the for loop to write smart or efficient code.

This is what the code looks like
For i in range(0,3):
  myPen.forward(70)
  myPen.right(90)
  myPen.forward(120)
  myPen.left(90)
  myPen.forward(45)
  myPen.left(90)
  myPen.forward(120)
  myPen.right(90)
And this is what the challenge looks like

Friday 9 June 2017

Working with python trinket

As a year seven student at Paroa school I am learning to use python and pygames to design a simple turtle game. I have also used trinket to work with the turtle game. I will learn how to import the turtle graphics and then programme the turtle to do various activities by creating variables. I will be using a python IDLE window to run my game.