Pages

Friday, 31 May 2019

Sphero project

In DTE we were given a project of making our own game by writing a program using Sphero Edu. While making a game, we use a tutorial to guide us to learn how to program.

I decided to design a game Truth or Dare. This game is like Hot Potato, the player who catches the shaking sphero will be asked a question from your friends.

Instruction
Step 1: gather some friends in a circle
Step 2: Start the program
Step 3: Toss the sphero to your friends
Step 4: The player who catches the shaking sphero will be the one to ask Truth or Dare.

Building a game/variable




Building a game/variable


1.)Go to variables and drag the set block into the loop forever and choose expire, now go to operators and drag random integer operator into the right side of the set block, notice there are two types of random operators int or integer means it will be a whole number, if you picked float the result could be a number with a decimal like 4.5. Using an integer here keeps your logic simpler but you will use float values in future activities.

2.) So now let’s make it so that it takes between three and ten tosses to expire. This is suitable for about 3 players to play the game. Each player needs to catch it once before the game expires. If you want to play more than 3 players, you need to increase the minimum and the maximum values accordingly.
3.)Go to controls and drag the loop until block and nest it in the loop forever just below the set expire block.
4.)Now go to operators and drag the basic comparator block of the loop until the command and select greater than. Then go to variables and drag the toss variables to the left side of the statement and then the expire variable to the right.
5.) Now write a code comment on this block ( Loop until the toss variable is greater than the expire variable, then call the blocks within).

6.) Now go to the lights and sounds category and drag the main LED and change it to RED.
7.) Now go to movements and drag a raw motor block below. Keep the left motor 0 sets and set the right motor to 255 and the duration to 0.1 seconds.

Next step
  1. Go to controls and nest the “If-Then” block to the loop in the ‘loop until’. Now go to comparators drag the basic comparator and place it in the true field, set it to greater than. Next, go to sensors and drag the accelerometer into the left side of the operation and select the total access. Change it to 0 on the right side to three.
  2. Now add a place sound block and the game abrupt sound and set it to continue, also add the strobe block to add a quick flash of light and set the colour to green and the period to 0.2 sec and count to 1. Go to variables and grab a set block and choose toss.
  3. Now drag a basic operator to the right beside block and change it to edition. Now you can drag the toss variable to the lift of the plus line. Change the 0 to 1
  4. Go to controls and drag a delay block and place it after the loop until block and set it to 1 sec. Now go to light and sounds and drag a sound block and choose a game you lose sound and set it to continue. Now place the main LED block and change it to orange
  5. Go to movements and drag the raw motor block and set both the left and the right motor power to 255 and the duration to 2 sec. Go to controls and drag the delay block and set it to 1 sec. And drag a speak block and right you lose. Go to variables and drag the set block and set it to toss.

What have I learned?
I learned how to write a program to make a game.
Did I enjoy making this?
To be honest, no, because I'm not good at making like these things and also I ran out of time by making this project.
What did you try hard for this project?
Thinking what game should I make.














Tuesday, 21 May 2019

What is Helium?

Aim: I'm gonna draw Helium atoms
Equipment: Marker ( Blue, Yellow, Purple, Black ) and a paper

Method: 
1.) First, make a Neutrons and Protons using a yellow and blue marker ( yellow for Neutrons and blue for protons).
2.) make the first shell using the purple marker
3.) Then draw two electrons in the first shell using a black
marker
4.) Done

Discussion: 
What is Helium?
Helium is classified as an element in the 'Noble Gases' section which can be located in a group of the Periodic Table. The term 'Noble Gases' derives from the Old High German word Edelgas from 'edili'  meaning 'noble'. The name 'noble gases' is an allusion to the old, similarly termed 'Noble Metals'. The Noble Metals included gold, silver, and platinum which were so-called due to their long association with the aristocracy.

It's a colourless, odourless gaseous element in natural gas with radioactive ores. It is used as a component of artificial atmospheres and laser media, lifting gas for balloons and as a refrigerant. Helium was the first gas used for filling balloon and dirigibles. The atomic number of this element is 2 and the element symbol is 'He'.

The Discovery and History of the Helium
Helium was first detected during Solar Eclipse in 1868 as a bright yellow line in the spectrum of the chromosphere of the Sun ('sphere of colour' the second of the three layers in the Sun) by French astronomer Pierre Janssen. It was discovered by Sir William Ramsey in 1895. Norman Lockyer and Edward Frankland named the Element.

Electrons and Orbits
 The electrons like to be separate shells/orbitals. The shells/orbits is a path of an electron around the nucleus of an atom. The shells/orbit number 1 can only hold 2 atoms, shell/orbit number 2 can hold 8, and for the first 18 elements shell, three can hold 8 electrons.So... for the Element of Helium, there are only 2 electrons in Helium atom. By looking at the picture, you can see there are 2 electrons in the shell/orbit. That means the first shell is full.

Fun facts about Helium
* USA is the worlds largest supplier of Helium
*Helium is more flammable than Hydrogen
*Helium is the most common element in the universe
*The name of Helium comes from Helius ( The Greek Sun God)
*Inhaling Helium makes your voice higher because it has less dense than air.


Evaluation:
Here is my complete work, next time I should make something more creative. I am proud of what I did but I should've to use whiteboard marker instead of a normal marker so I can't waste some papers. If you want to draw Helium atoms, I would recommend you to use a bowl or a cup because it's much easier to make a perfect circle. I also recommend you to use whiteboard instead of papers because you can easily erase it instead of wasting the paper. I enjoyed drawing Helium atoms because it's easy and it only takes 3-4 min to make. If I want to learn more about Helium I gonna research about what is the difference between oxygen and Helium.

What am I learning?
I learned what is Helium and the history of it.
What am I wondering?
I'm wondering if there's helium in space
How does this show my work?
To show me what does Helium atom look like and how to draw Helium atoms.


electrons and orbits ( spd )










The Killer



In the 1870s, Cole's town is getting worse because of the disease, food, and water. His family wanted to live in a place where there's a lot of food and clean water so his family decided to go to London. Cole has 3 brothers, Armad, Damien and Bram. His brothers are nice and caring. When they arrived at their house his parents told him and his brothers to clean their house because they're gonna buy some supplies for their garden but Cole doesn't want to stay. 'Guys let's play a game in my room' Damien giggled. So they went to his room to play a game except him so my parents won't be mad.

It's late at night, Cole looks in the window in the backyard if his parents are home, he notices a man standing out in the snow smiling at him. He gulps, he looks down doing nothing because he's too nervous to call his brothers. He looks back at the window again, he notices that he as much as closer to him now with a knife. He fell down in shock. He went to his brothers and told them there's a man outside the house with a knife. "Let's go hide in the basement until our parents come home" Bram panicked. Suddenly, someone knocked on the door. Damien grabs a pocket knife and opens the door. "Mom, Dad" he shocked. "Kids, there's a murderer on the loose". Good thing they brought food and water, Cole told them what's going on then their dad told them.

There's a psychopath in the town. He was cared for by his protective adoptive parents. Despite being so bright, he was known for partaking in criminal behaviour, he was arrested at the age of 13. After Albright received a gun, he uses it to kill small animals. After failing to complete med training,  he would be sent to jail for theft, abuse of a person, and being a murderer. He shot victims in the head and removed their eyes with surgical-like precision. "No one hasn't seen him even the police officers," Dad said. Everyone got shocked when they heard the story. They decided to live in a safe place like New Zealand. They immediately pack their things and leave the place. Before they leave, Cole saw the man again standing behind the tree smiling with a knife. It's like the man knows where they're going. They hop on to their horse carriage and Cole told his Dad to go to the port fast. His Dad noticed they were being followed by the man. He's thinking rationally to safely get out of their situation for his family. They went to an area with a lot of people so that the man will be able to lose them. They look behind and they noticed that they are not being followed anymore. When they arrived at the port, they immediately entered the ship. Before they entered, they checked one last time if the man is still following them.  " At last, we're safe now" Bram sighed with relief.

When they arrived in New Zealand, a lot of people welcoming them on the ship. They realized that an amazing country with beautiful landscape, the crime rates are low and the best place to live.


This is my creative story in Social Studies