General Discussions

Message Programming – Mene-Mene

Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
I just thought of a Grand Idea for a game. What if you wrote scripts to give messages.

Ex.

Print "Dear Darty"
feeling = Input$("How are you?")
If feeling = "Good" Then
Print "Good! I'm glad you're feeling well."
ElseIf feeling = "Fine" Then
Print "At least you're not feeling unwell."
Else
Print "Hope you get well soon!"
Endif

Print "Mene^2"
Print "BlitzBasic"

Tell me what you think!

Edit: Then the Addressed Person would give the OutPut.

OutPut: Mene^2
Dear Darty
How are you? Good
Good! I'm glad you're feeling well."
Mene^2
BlitzBasic

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto

[This message has been edited by Mene-Mene (edited December 02, 2006).]

[This message has been edited by Mene-Mene (edited December 02, 2006).]

Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
YEAH!!!!! I'm a Veteran Yearling!!!!!

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto

kenman

Member

Posts: 518
From: Janesville WI
Registered: 08-31-2006
fork = knives to spoon
Sub dish()
run(spoon)
End Sub
nextk

How coders tell nursery rhymes to their children

Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
KenMan: (I want to say MathMan, MathMan) I'm confused, I haven't heard many nursery rhymes, so that must be why. (I don't understand the language you're talking in anyway. Anyway, its supposed to be like a messaging system, once we got 1 more posted, then I would write one.

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto

kiwee

Member

Posts: 578
From: oxfordshire, england
Registered: 04-17-2004
lol, kenman

cow y > moon y

(you can probably tell I am not a coder :P)

------------------
Kiwee Stuff Website:
http://kiwee.gibbering.net

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
hahahaha!!!!!! cow y > moon y

run(spoon)

rofl.

nursery rhyme?

sounds like a good idea, but what's Eva? and the like?

plus you can't tell exactly what the input will be. it might not be 'good' or 'fine'.
.
dunno. of course i've always wanted to do an eva clone.

------------------
that post was really cool ^
|
[|=D) <---|| me

Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
This was supposed to be a MESSAGE programming game, rather than a nursery rhyme thing.

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto

Lazarus

Member

Posts: 1668
From: USA
Registered: 06-06-2006
You could always test for a large number of inputs, like so:


sequence inputs, inputs2, input
atom num

inputs = {"good", "bad", "lousy", "fine", "great", "terrific", "horrible"}
inputs2 = {"Good! I'm glad you are.", "Aw, that's a shame.", "Sorry Dude. I know, life sucks.", "Great news! Root beer is on the house!", "That's supercool.", "Hi-five.", "Come on, it's not that bad!"}

holder = {}
puts(1, "-------------------")
puts(1, "Hey, how ya doin'?")

input = gets(0)

for i = 1 to length(inputs) do
if equal(input, inputs[i]) then
num = i
end if
end for

puts(1, inputs2[num])
puts(1, "\n------------------------")
puts(1, "\nYou have just completed a conversation with Mene-Mene's talking computer. \nCopyright 2006. \nAll rights reserved.")
puts(1, "--------------------")

So it would go like this:
---------------------
Hey, how ya doin'?
Lousy
Sorry Dude. I know, life sucks.

------------------------

You have just completed a conversation with Mene-Mene's talking computer.
Copyright 2006.
All rights reserved.
-------------------------

Cool, no? Nice idea, Mene.

Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
Wonderful! I mean I could do that, but someone else participating in your own idea in your fashion makes my happy.

Output:
---------------------
Hey, how ya doin'?
Great (I would say "better now")
That's super cool.
------------------------

You have just completed a conversation with Mene-Mene's talking computer.
Copyright 2006.
All rights reserved.
-------------------------

Although, I must say, thats your talking computer.

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto

Lazarus

Member

Posts: 1668
From: USA
Registered: 06-06-2006
No way, it's your talking computer. I'm just the coder you hired who's getting ten bucks an hour.
Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
do{

cow.Clear_Moon(moonx,moony,moonz)

spoon.Take_Dish(dish)

spoon.Run(speed)

CAT_PLAYING_FIDDLE == cat.Destroy_Fiddle()


} while CAT_PLAYING_FIDDLE == true


my C++/Java is rusty, but I think thats how it goes...

------------------
yeah, im a little crazy
Check out my crazy sig that I made:

[This message has been edited by Realm Master (edited December 03, 2006).]

Realm Master

Member

Posts: 1971
From: USA
Registered: 05-15-2005
There was once this really in-depth talking computer made by a guy in the Ruby langage, AI to the max! The computer learned different responses over time and even had an "attitude"

Gaaa! Wish I had that link...

it was on the old CodersWorkshop forum...

GAA!

------------------
yeah, im a little crazy else why would I have just doubleposted????
Check out my crazy sig that I made:

[This message has been edited by Realm Master (edited December 03, 2006).]

Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
Laz: Thank y... Gah!!! Fired! j/k.

RM: Coolness...

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto

Lazarus

Member

Posts: 1668
From: USA
Registered: 06-06-2006
Don't I even get two weeks notice?

-------------------------
Hey, how ya doin'?
I got fired today!
Sue your boss!

------------------------

You have just completed a conversation with Mene-Mene's talking computer.
Copyright 2006.
All rights reserved.
-------------------------

Mene-Mene

Member

Posts: 1398
From: Fort Wayne, IN, USA
Registered: 10-23-2006
Don't I get 2 weeks notice of your paycheck change?

-------------------------
Hey, how ya doin'?
My .0000000 cent worker just raised his own paycheck to $10.00 hourly without any notice!
Option A: Raise your salary from the usual 100 Bil to 1 trillion without notice and make him pay it.
Option B: Fire him without any notice.
Option C: Subject him to the Jewish law of stoning.
Either way have fun watching his face!
------------------------

You have just completed a conversation with Mene-Mene's talking computer.
Copyright 2006.
All rights reserved.
-------------------------

Been fun gtg bed

------------------
MM out-
Thought travels much faster than sound, it is better to think something twice, and say it once, than to think something once, and have to say it twice.
"Frogs and Fauns! The tournament!" - Professor Winneynoodle/HanClinto