Program Ideas

Does anyone have pretty advanced program ideas?
Last edited on
How about a chatbot AI? That can be fun. It's easy to get started using std::string and std::map.

However, it can really be as complex/advanced as you like then since you can keep tweaking features to make it more conversational and believable.
Last edited on
Hmm good idea Xander! Why not use my networking framework so I can use you as a bishop in my chess game? =)
That's a pretty good idea. You could probably sell it on as a Persona Management thing.
You could write the AI as a back-end program, and then write a set of front-ends, e.g one that re-directs standard input/output from/to IRC.

You might do it like this:
1. Connect to IRC server
2. Connect to a channel
3. Read input from IRC and pass to AI back-end (via pipes or something similar)
4. Take output from back-end and send over IRC
5. Repeat steps 3 & 4
For a general structure for my AI, I was thinking of this:
Inputs -> Input Translators (convert inputs into internal format) -> AI stuff -> Output Translators -> Outputs

However, I wasn't sure whether to have queues for input messages, or callback functions or what... I need to do some planning and I have far too many upcoming exams to plan it properly now :(
I would use callbacks, a queue could get to using too much memory.
Topic archived. No new replies allowed.