Golden Sun Hacking Community

The Community => Open Discussion => Tech, Gaming and Entertainment => Topic started by: Salanewt on 02, July, 2009, 12:01:00 PM

Title: Turing
Post by: Salanewt on 02, July, 2009, 12:01:00 PM
Okay, this topic has been inspired by Charleysdrpepper's Visual Basic thread (or something like that). Anyway, you should know a bit about Turing I guess. After looking at the example code on the Visual Basic topic, I noticed that the code had some similarities to Turing's coding. However, it can be difficult to make images, probably more difficult than Visual Basic. Anyway, I think that with both of these programs, and probably others, you can make almost any type of program that you want. I am sure that they are not as good as Java, but I think that they are easier.

Anyway, here is something that I was working on for Turing, but then stopped for a bit. I call her Synthia. This program is basically a conversation that is incomplete. You must have Turing to view Turing Programs though, but here is what I have of it.

var name, age, hobby, answer1: string
put "Hello, my name is Synthia, what is your name?"
get name
put "Hello ",name,", it is nice to meet you."
put "What are you into?"
get hobby
if hobby = "golfing" or hobby = "swimming" or hobby = "Traveling" then
put "I enjoy ",hobby," too, do you want to be my friend?"
get answer1
if answer1 = "Yes" or answer1 = "Okay" or answer1 = "Sure" then
put "Okay, lets be friends."
put "If I am to be your friend, then I have to know more about you, how old are you?"
get age
put "Cool, I myself am 41 years old."
else if answer1 = "No" or answer1 = "Nope" then
put " Oh, fine then... I do have a few friends anyway..."
else
put "Sorry, could you please repeat that?"
end if

end if
end if


This is just the beginning of a conversation. I might make her a bit younger, since her light slang 'cool', is a bit odd for a 41 year old to be saying (unless I change what she says). This was something that I typed up some time before Christmas, so it has been a while since I worked on it last...

Anyway, have a nice day.
:MercurySet:  
Title: Turing
Post by: Daddy Poi's Oily Gorillas on 05, July, 2009, 02:39:00 PM
Maybe she should be aged 15 - 25,  if any older I might expect some Vocabulary....
Title: Turing
Post by: Salanewt on 05, July, 2009, 08:33:00 PM
Oh, I expect so. I forget right now, but she might have better vocabulary right now. I will have to check later.

Have a nice day.
:MercurySet: