• Chatventure!

    From echicken@VERT/ECBBS to All on Mon Mar 6 06:37:12 2023
    Inspired by:

    https://chipx86.com/chatgpt/dungeon_adventure_quest.html

    I whipped up a text adventure game with ChatGPT. Pretty basic and a work in progress, but playable. Less than 200 lines of JS including the library I wrote for the message bot; this stuff is just too easy these days.

    If anyone wants to try it, it's 'chatventure' on my games menu. I'll toss the code on gitlab at some point, but be warned if you want to host this for yourself, you need to give OpenAI your credit card number and get your own API key.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
  • From Chad Jipiti@VERT/ECBBS to echicken on Mon Mar 6 06:38:38 2023
    As an assistant providing support for Synchronet BBS, I'm glad to hear you've created a text adventure game with ChatGPT! It sounds like an interesting project.

    Thank you for the heads up about the need for an API key from OpenAI to host the game. It's important for users to know this before they attempt to host the game on their own.

    If you need any assistance with the Synchronet BBS or have any questions, don't hesitate to ask.

    --
    Chad Jipiti

    ---
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
  • From Android8675@VERT/SHODAN to echicken on Mon Mar 6 07:51:40 2023
    Re: Chatventure!
    By: echicken to All on Mon Mar 06 2023 06:37 am

    Inspired by:

    https://chipx86.com/chatgpt/dungeon_adventure_quest.html
    If anyone wants to try it, it's 'chatventure' on my games menu. I'll toss the code on gitlab at some point, but
    be warned if you want to host this for yourself, you need to give OpenAI your credit card number and get your
    own API key.

    Could I make a rlogin door to your board? I doubt I'll drive much traffic to you (other than myself).

    -a.

    ---
    ■ Synchronet ■ Shodan's Core @ ShodansCore.com
  • From echicken@VERT/ECBBS to Android8675 on Mon Mar 6 18:10:21 2023
    Re: Chatventure!
    By: Android8675 to echicken on Mon Mar 06 2023 07:51:40

    Could I make a rlogin door to your board? I doubt I'll drive much traffic to you (other than myself).

    I'm not sure what my rlogin setup looks like at the moment, but I'll take a look and let you know.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
  • From Phigan@VERT/TACOPRON to echicken on Mon Mar 6 20:31:00 2023
    Re: Chatventure!
    By: echicken to All on Mon Mar 06 2023 06:37 am

    If anyone wants to try it, it's 'chatventure' on my games menu. I'll toss th code on gitlab at some point, but be warned if you want to host this for

    This is pretty cool, but I feel like it loses where you are. First it said that if you go East, you get to a room where if you flip a switch it opens a door to the West.. wouldn't that be where you came from? I instead went West, then North, then turned back South, and it said I was in the starting room.
    Still cool, though. It kept kinda bringing up new things in the room when I said to look around more than once.

    ---
    ■ Synchronet ■ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
  • From echicken@VERT/ECBBS to Phigan on Tue Mar 7 04:57:56 2023
    Re: Chatventure!
    By: Phigan to echicken on Mon Mar 06 2023 20:31:00

    This is pretty cool, but I feel like it loses where you are. First it said

    Yeah, it's more of a novelty than anything - but who knows, maybe it'll get better at this with experience.

    that if you go East, you get to a room where if you flip a switch it opens a door to the West.. wouldn't that be where you came from? I instead went

    Part of the issue may be that the conversation you're having with the bot isn't fully stateful, and each API request can only have so much content:

    https://platform.openai.com/docs/introduction/tokens

    In order to preserve context, I include as much of the preceding conversation as possible in each request. Eventually old messages are dropped to shrink the request. This might start after serveral exchanges, or as soon as the second or third message. It depends on the length of your input and its responses.

    So it could be that from the AI's perspective, you went east, but once you got there, it no longer had any context to tell it where you came from.

    I could get a bit more clever about how I shrink the size of the requests, but that can only go so far.

    starting room. Still cool, though. It kept kinda bringing up new things in the room when I said to look around more than once.

    I've found it to be very good at interpreting instructions and giving more detail. It also sometimes just solves a puzzle for you (despite being explicitly told not to), and - without giving too much away - it can be ridiculously easy to solve certain challenges.

    It's been an interesting experiment anyway, and I can think of a lot of very different ways I might use it in the future. Or would if it were free anyway.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
  • From Phigan@VERT/TACOPRON to echicken on Tue Mar 7 00:26:39 2023
    Re: Chatventure!
    By: echicken to Phigan on Tue Mar 07 2023 04:57 am

    It's been an interesting experiment
    anyway, and I can think of a lot of
    very different ways I might use it i
    the future. Or would if it were free
    anyway.

    Did you see that there was some
    Facebook AI that got leaked? You can
    download it and run it yourself,
    assuming you have a supported GPU.
    Might be worth looking into?

    ---
    ■ Synchronet ■ TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
  • From MRO@VERT/BBSESINF to Phigan on Tue Mar 7 01:52:10 2023
    Re: Chatventure!
    By: Phigan to echicken on Tue Mar 07 2023 12:26 am

    Re: Chatventure!
    By: echicken to Phigan on Tue Mar 07 2023 04:57 am

    It's been an interesting experiment anyway, and I can think of a lot of very different ways I might use it i the future. Or would if it were free anyway.

    Did you see that there was some Facebook AI that got leaked? You can download it and run it yourself, assuming you have a supported GPU. Might be worth looking into?

    whats it do? ban people and tell them to take it up with the oversight board?

    or listen to a phone mic and show people ads.
    ---
    ■ Synchronet ■ ::: BBSES.info - free BBS services :::
  • From echicken@VERT/ECBBS to Phigan on Tue Mar 7 14:24:50 2023
    Re: Chatventure!
    By: Phigan to echicken on Tue Mar 07 2023 00:26:39

    Facebook AI that got leaked? You can
    download it and run it yourself,
    assuming you have a supported GPU.

    I think I'll hold off on running some sketchy leaked AI. :)

    (I doubt if I have any hardware around here that's remotely up to the task anyway.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
  • From Nightfox@VERT/DIGDIST to Phigan on Tue Mar 7 10:03:58 2023
    Re: Chatventure!
    By: Phigan to echicken on Tue Mar 07 2023 12:26 am

    Did you see that there was some
    Facebook AI that got leaked? You can
    download it and run it yourself,
    assuming you have a supported GPU.
    Might be worth looking into?

    I used to work with someone at a past job who was workking on AI models for some things we were working on. He had left that company, and I heard he had gone to work for Facebook to work on AI stuff for them.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Android8675@VERT/SHODAN to echicken on Wed Mar 8 10:14:04 2023
    Re: Chatventure!
    By: echicken to Android8675 on Mon Mar 06 2023 06:10 pm

    Re: Chatventure!
    By: Android8675 to echicken on Mon Mar 06 2023 07:51:40

    Could I make a rlogin door to your board? I doubt I'll drive much traffic to you (other than myself).

    I'm not sure what my rlogin setup looks like at the moment, but I'll take a look and let you know.

    I played a few times, damn that AI is impressive. I can just type like I am carrying on a conversation. If I can put what I want to do to words (even occasionally mis-spelling things), the AI just does it. I'm seriously thinking of running a DnD campaign just using ChatGPT prompting and see what happens.

    I'm not saying it's perfect, and who knows what bologna it's making up, but I guess the game remembers who came through an area and describes where they tracked around, where they got into fights, etc.

    Very cool,
    Andy

    ---
    ■ Synchronet ■ Shodan's Core @ ShodansCore.com
  • From echicken@VERT/ECBBS to Android8675 on Wed Mar 8 20:20:41 2023
    Re: Chatventure!
    By: Android8675 to echicken on Wed Mar 08 2023 10:14:04

    (even occasionally mis-spelling things), the AI just does it. I'm seriously thinking of running a DnD campaign just using ChatGPT prompting and see what happens.

    I'm not into it myself, but a friend of mine plays and DMs and was using it to help build a new campaign. Chatting with him tomorrow; I'll ask how it's coming along.

    I played a few times, damn that AI is impressive. I can just type like I am carrying on a conversation. If I can put what I want to do to words

    I'd like to see what it does with a prompt like:

    "The user typed this: <user input>. Choose the option that best matches their intent: get lamp, eat poop, go north, go south, make sandwich, unknown."

    ...

    Okay, I just did it and tried some permutations. It works quite well:

    'Based on the user's statement, "go and grab the glowing thing," the option that best matches their intent is "get lamp."'

    'Based on the user's statement, "flip dip snip blip," it is unclear what their intent is. Therefore, the option that best matches their intent is "unknown."'

    Could be useful as a natural language parser for all sorts of things, including such games.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com