You enter a series of 0's and 1's and the program tries to guess it. I haven't been able to beat it yet, the program remembers your past actions and tries to predict your next entry, looking for patterns in the behavior of the human player. "The types of patterns remembered involve the outcome of two successive plays and whether he changed his choice between them and after them."
http://seed.ucsd.edu/~mindreader/