CST 3170 Home Page The Prior Page The Next Page
Middlesex Logo

Lab 17: Chatbot

  1. Let's make a character for a game. (You can choose the game, but my example is the bartender.)
  2. Startup a java project, and make the simplest chatbot:
  3. Make it respond to 4 particular commands. (I did, I'll have a beer, wine please, where's the loo, and can I have a burger?)
  4. Variabilize these things. (E.g. I'll have a(n) ?x)
  5. Give it a wildcard response. (I did, sorry, could you say that again.)
  6. How realistic can you make it?