Internet Safe
Tuesday, 5 May 2015
Tuesday, 21 April 2015
SIRI Chatbot instructions
# siri
import random
#write answer
ans1="Why are you asking me this question"
ans2="I will have to kill you to tell you"
ans3="I do not want to scar your innocent mind"
ans4="Go for it"
ans5="That is not a valid question"
ans6="Your questions are irriating my simple brain"
ans7="Very funny"
ans8="You are to young to know that"
print("Hello Human")
#get the users questions
question= input("Ask me for advice and then press ENTER to shake me./n")
print("shaking...\n"*4)
#use the randint() function to select the correct answer
choice=random.randint(1,8)
if choice == 1:
answer=ans1
elif choice == 2:
answer=ans2
elif choice == 3:
answer=ans3
elif choice== 4:
answer=ans4
elif choice== 5:
answer=ans5
elif choice == 6:
answer=ans6
elif choice == 7:
answer=ans7
else:
answer=ans8
#print the answer to the screen
print(answer)
input("\n\nPress the ENTER key to finish.")
import random
#write answer
ans1="Why are you asking me this question"
ans2="I will have to kill you to tell you"
ans3="I do not want to scar your innocent mind"
ans4="Go for it"
ans5="That is not a valid question"
ans6="Your questions are irriating my simple brain"
ans7="Very funny"
ans8="You are to young to know that"
print("Hello Human")
#get the users questions
question= input("Ask me for advice and then press ENTER to shake me./n")
print("shaking...\n"*4)
#use the randint() function to select the correct answer
choice=random.randint(1,8)
if choice == 1:
answer=ans1
elif choice == 2:
answer=ans2
elif choice == 3:
answer=ans3
elif choice== 4:
answer=ans4
elif choice== 5:
answer=ans5
elif choice == 6:
answer=ans6
elif choice == 7:
answer=ans7
else:
answer=ans8
#print the answer to the screen
print(answer)
input("\n\nPress the ENTER key to finish.")
Monday, 23 February 2015
Artificial Intelligence
1.Robots are useful since they can do jobs that is not capable for humans to do or they can also make jobs easier for human beings. In some instances robots may be able to some jobs more efficiently than humans .2.The problem with robots is when there is a glitch in the programming. Sometimes it could be hard or impossible to solve it and it may cause threat or danger or even destruction to humans and their surroundings .3.Society should be concerned about the problems that may occur with robots in the future because it would be too late to solve them when the things start spiraling out of control. And also they should develop set methods and precautions to prevent things going wrong with the robots.4.Yes. I agree with this statement. programmers have to think an check their programming whilst creating a robot so that it does not mimic the things humans can do, which is basically learning to learn. And a fixed reliable solution should be made so that if anything goes wrong people can turn to the solution.
1.Robots are useful since they can do jobs that is not capable for humans to do or they can also make jobs easier for human beings. In some instances robots may be able to some jobs more efficiently than humans .2.The problem with robots is when there is a glitch in the programming. Sometimes it could be hard or impossible to solve it and it may cause threat or danger or even destruction to humans and their surroundings .3.Society should be concerned about the problems that may occur with robots in the future because it would be too late to solve them when the things start spiraling out of control. And also they should develop set methods and precautions to prevent things going wrong with the robots.4.Yes. I agree with this statement. programmers have to think an check their programming whilst creating a robot so that it does not mimic the things humans can do, which is basically learning to learn. And a fixed reliable solution should be made so that if anything goes wrong people can turn to the solution.
Monday, 19 January 2015
Sunshine Leisure Center
Sunshine Leisure center Logo ideas
![]() |
This is my first logo for sunshine leisure center. I think this logo is memorable because the image is in relation the name. The colors are also easy to remember but the design is quite complicated. |
Monday, 17 November 2014
testing
Here are the
tests:-
Test 1: The game must have clear instructions for the
user.
My game has clear instructions but I have no screenshots because I saved my game on the C drive instead of the H drive by mistake and my computer got removed.
Test 2: The game
must be error-free.
My game has a few errors because not all of the apples fall down but some do.
Test 3: The game
must have the meaningful variables of ….
My meaningful variables are score and lives. They did go up when the apples touched or fell in the basket.
Test 4: The game
must be documented well in my blog so that I can come back to it at a later
date to make alterations to it if needed.
One screenshot of my game is only on my blogger.
Test 5: Each
collecting sprite needs to have 3 states:- normal, bulging, slim and named
appropriately.
I had two states for my sprite which were normal and bulging for my basket which collected the apples.
I had two states for my sprite which were normal and bulging for my basket which collected the apples.
Test 6: The
program has to keep a score of all the collected sprites.
I had a variable for the score.
I had a variable for the score.
Test 7:Did the game work?
The game did not exactly work because not all my apples fell down.
The game did not exactly work because not all my apples fell down.
Test 8:Was the game background made or copied?
My background was made by me which had green hill and a apple tree.
My background was made by me which had green hill and a apple tree.
Test 9:Were the sprites made or copied?
I drew all my sprites which were apples,basket and spider.
I drew all my sprites which were apples,basket and spider.
Test 10:Did it have a name?
Yes it was called apple mania.
Yes it was called apple mania.
Game testing strategy and plan
GAME TESTING
STRATEGY & PLAN
I will test
my game to make sure it works while I create it. I will also test it after I
have finished coding to make sure it works fully as planned. I shall do the
testing myself but I shall also ask ………..
to test
certain parts of it. I shall be a test buddy for ……
Here are the
tests:-
Test 1: The game must have clear instructions for the
user.
Test 2: The game
must be error-free.
Test 3: The game
must have the meaningful variables of ….
Test 4: The game
must be documented well in my blog so that I can come back to it at a later
date to make alterations to it if needed.
Test 5: Each
collecting sprite needs to have 3 states:- normal, bulging, slim and named
appropriately.
Test 6: The
program has to keep a score of all the collected sprites.
Test 7:The background must be drawn.
Test 8:The sprite must also be drawn.
Test 9:The game must have a title.
Test 10:Are there any special effects?
Subscribe to:
Posts (Atom)