Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sat May 25, 2013 4:29 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Sun Jan 27, 2013 11:33 pm 
Miko-Class Veteran
User avatar

Joined: Mon Dec 13, 2010 9:30 am
Posts: 842
Location: New Brunswick, Canada
Projects: Camp Renard
Image
Eliza Py will help you with your problems. She will ask you questions, you type out your response, then she answers you back.

I threatened to do it and I did it. I took the Eliza code an put it in Ren'Py. (ref: http://en.wikipedia.org/wiki/ELIZA) If you must blame someone, blame the guys over at the PyBrain Thread viewtopic.php?f=32&t=18848 :)

This is a toy. This is me wondering if it could be done. The whole thing, start to finish has taken me 3 hours -- including graphics.

Be warned! Eliza is dumb. She has some basic patterns that she responds to. I wanted to see if a chat bot could be made in Ren'Py and the answer is yes. With some work, she could be more responsive and actually have a memory and stuff.

The all in one version can be found here: 25.4 MB
http://www.thecatsweb.com/games/Therapy-1.0-all.zip

Have fun. Source code is included.

Edit: Here are some screenshots
Attachment:
screenshot0006.png
screenshot0006.png [ 359.51 KiB | Viewed 2138 times ]
Attachment:
screenshot0005.png
screenshot0005.png [ 358.79 KiB | Viewed 2138 times ]
Attachment:
screenshot0004.png
screenshot0004.png [ 349.97 KiB | Viewed 2138 times ]


Susan

_________________
In order to understand recursion, one must first understand recursion. (Anonymous)


Last edited by SusanTheCat on Mon Jan 28, 2013 9:04 am, edited 1 time in total.

Top
 Profile Send private message  
 
PostPosted: Mon Jan 28, 2013 12:43 am 
Veteran
User avatar

Joined: Mon Aug 29, 2011 5:31 pm
Posts: 401
Projects: That's the Way the Cookie Crumbles, Ibuki Magica
Organization: Twin Turtle Games
Oh man, I haven't played with Eliza in forever. This is a really neat little game, although it would be interesting if you worked to tie the sprite's body position with the things Eliza says instead of going for random.

_________________
ImageImage Image

Petit Fours and Sushi: The best name for a Tumblog I could think of.
,%,..@@@,.Þ%,.@G,.@@,.% ...What? It makes sense to me.


Top
 Profile Send private message  
 
PostPosted: Mon Jan 28, 2013 1:23 am 
Eileen-Class Veteran
User avatar

Joined: Fri Jun 05, 2009 3:31 am
Posts: 1596
Location: Illinois, USA
Projects: Twelve
Organization: Kitsch-soft
Susan... I think she is smarter than she lets on...
Attachment:
babby.jpg
babby.jpg [ 712.61 KiB | Viewed 2061 times ]

Just look at the death stare she gave me!

_________________
“When I stand before God at the end of my life,
Aspiring writer-artist.

I would hope that I would not have a single bit of talent left,
and could say, 'I used everything you gave me.'”
— Erma Bombeck

▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬
Works in Progress
Twelve - love story of an A.I. and her programmer
PAW ★ PRINTS - Laika in the Space with Tetris


Top
 Profile Send private message  
 
PostPosted: Mon Jan 28, 2013 1:49 am 
King of Moé
User avatar

Joined: Mon Sep 03, 2007 3:49 pm
Posts: 2080
Location: United States
Completed: Homeward
Projects: Sunrider
Organization: Love in Space
How is this supposed to be therapeutic? She just ends up frustrating me because she never understands!

_________________
Image
Image
"A piece of warmth you can return to"
Now in construction

Discussion thread [18+]
One Story: All ages version


Top
 Profile Send private message  
 
PostPosted: Mon Jan 28, 2013 7:36 am 
Miko-Class Veteran
User avatar

Joined: Tue Sep 07, 2010 3:28 am
Posts: 703
Location: Perpendicularly parked in a parallel universe
Completed: Mobile Food Madness, Super Otome Quest
Projects: Project Orpheus
Organization: Polymorphic Games
Samu-kun wrote:
How is this supposed to be therapeutic? She just ends up frustrating me because she never understands!


That was the point of the original. People would go far enough up the walls that they'd discover that they knew the solution already.

_________________
I'm going to get off my soap-box now, and let you get back to your day.

Academy Daze- Demo pending
Knights of Chaos: Ghost- Coding underway
DevBlog: http://www.renaigames.net
Troubleshooter Tales: Childhood's End (story) http://www.knightschaos.com


Top
 Profile Send private message  
 
PostPosted: Mon Jan 28, 2013 9:21 am 
Miko-Class Veteran
User avatar

Joined: Mon Dec 13, 2010 9:30 am
Posts: 842
Location: New Brunswick, Canada
Projects: Camp Renard
I changed the tag to read "Bad Therapist Sim"

Funnyguts wrote:
Oh man, I haven't played with Eliza in forever. This is a really neat little game, although it would be interesting if you worked to tie the sprite's body position with the things Eliza says instead of going for random.


I briefly looked into changing the sprite with mood, then I realized that all her comments are very generic. :)

I should add a pattern for excessive use of caps and exclamation points :)
"Why are you so angry with me?"

Here is my favorite historical conversation with DOCTOR - an improved version of Eliza:
(Taken from http://www.stanford.edu/group/SHR/4-2/t ... ogues.html)

Quote:
One Saturday morning about 9 a.m., a Vice President of Bolt, Beranek, and Newman in charge of selling our Telcomp commercial service arrived at our PDP-1 computer room hoping to be able to use the computer for a demonstration. He found a note on the PDP-1 teletype that read: "TYPE ALL MESSAGES INTO THIS TELETYPE AND END THEM WITH A PERIOD." This note was left there by one of the programming bums who had just succeeded in making run a LISP version of the DOCTOR program (based on ELIZA as developed by Weizenbaum). However, the VP thought that this note indicated that this teletype was linked with the one in my home, since I often use the computer all night. Therefore, he started typing to "me," but in fact was typing to this version of the DOCTOR program. The following conversation ensued:

vp: Do you think that I can use the computer this morning?

eliza: Why do you ask?

vp: I might be able to make some additional Telcom sales.

eliza: Why aren't you so sure?

vp: My perspective customers have never seen a demonstration of the system.

eliza: Does this mean very much to you?

vp: Of course it does.

eliza: You seem very positive about that.

vp: This is ridiculous.

eliza: What do you mean, this is ridiculous?

vp: Is there any reason why I can't use the computer now?

eliza: Tell me more about your perspective customers.

vp: Please dial me up on 491-1850

Note that after the last remark the VP did not obey instructions, and left out the period. Therefore, of course, the computer didn't answer him. This so infuriated the VP, who thought I was playing games with him, that he called me up, woke me from a deep sleep, and said:

vp: Why are you being so snotty to me?

bobrow: What do you mean I am being snotty to you?

The VP angrily read me the dialog that "we" had been having, and couldn't get any response but laughter from me. It took a while to convince him it really was a computer



Susan

_________________
In order to understand recursion, one must first understand recursion. (Anonymous)


Top
 Profile Send private message  
 
PostPosted: Sun Apr 21, 2013 6:29 pm 
Veteran
User avatar

Joined: Sat Sep 25, 2010 4:50 pm
Posts: 427
This is a really interesting concept. I can't help but wonder why this kind of thing hasn't been mixed with dating sims at least once. I guess the biggest drawback would be the amount of time it would take to write out all the different variables.


Top
 Profile Send private message  
 
PostPosted: Sun Apr 21, 2013 6:40 pm 
King of Moé
User avatar

Joined: Mon Sep 03, 2007 3:49 pm
Posts: 2080
Location: United States
Completed: Homeward
Projects: Sunrider
Organization: Love in Space
...Behold. It has now been done.
http://boyfriendmaker.tumblr.com/

Although I think this system uses some kind of echo system where the responses of other players are sent back to you based on your input.

_________________
Image
Image
"A piece of warmth you can return to"
Now in construction

Discussion thread [18+]
One Story: All ages version


Top
 Profile Send private message  
 
PostPosted: Sun Apr 21, 2013 9:23 pm 
Veteran
User avatar

Joined: Sat Sep 25, 2010 4:50 pm
Posts: 427
Samu-kun wrote:
...Behold. It has now been done.
http://boyfriendmaker.tumblr.com/

Although I think this system uses some kind of echo system where the responses of other players are sent back to you based on your input.

Oh yeah.... I completely forgot about that app. :lol:
I'd like to see more experimentation with it at least. Imagine if you mixed something like that with a Love Plus style game. I don't think I'd buy it but I could imagine it being popular.


Top
 Profile Send private message  
 
PostPosted: Sun Apr 21, 2013 9:47 pm 
Veteran
User avatar

Joined: Sun Mar 21, 2010 3:20 am
Posts: 442
Location: Hámbala
Completed: Tortichki // Zayay
Organization: SHINE
Wow, I've always wanted to try making something like that in Ren'Py, just never been serious about it, but seeing this, wow! I find it awesome. XD Quite like it~

_________________
ImageImage Image
Finished:
- Zayay [Otome?][BxPlayer][NaNo 2013]
- Tortichki [Drag&Drop mini game]


Top
 Profile Send private message  
 
PostPosted: Sun Apr 21, 2013 10:21 pm 
Veteran
User avatar

Joined: Thu Oct 27, 2011 6:51 pm
Posts: 412
Completed: Reverse Robin (collab NaNoRenO), My Magical Girl Romance (horrible VN challenge)
Projects: Operation: Magic Hero, NekoCon!, Eileen's Otome Love Story
Organization: Tofu Sheets Visual
Gehh...my computer decided to be slow when I tried to run it. Guess I have to restart my computer )and if it:s still slow...I dunno...)

EDIT: OKay! A restart is all I needed! Sooo...

This game is both hilarious and frustrating XD At first, it feels good to vent, even if to a chatbot. But then she gets frustrating and you begin insulting her, LOL. I took screenies of her BEST replies, LOL.

_________________
My Ren'Py novels:
Operation: Magic Hero (WIP)
Eileen's Otome Love Story
NekoCon! (HIATUS) (Update: 12/27/2011)


But dear God, You're the only North Star I would follow this far
Owl City "Galaxies"


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Heiden, seliah


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group