by Jonathan Rothwell


For the benefit of interested parties, I’m open-sourcing (under the WTFPL) my ham-fisted first-semester CompSci mini-project, a deliberately antagonistic chatbot called AntagoBot.

You can grab the source on GitHub here, although the code all lives in one Java file. The algorithm for its conversations is extremely simple: ask rude questions, keep pressing until you get a yes/no answer, and then move on to another rude question.

AntagoBot is not:

  1. an example of “good Java”1;
  2. a particularly good chatbot;
  3. a good person. He’s fecking evil.

  1. Note that in my mind, the only “good Java” is no Java, because Java is a horrible, patent-encumbered, cumbersome and inconsistent mess.