Oh totally. I didn't look at the code though but I'm impressed if that isn't a hardcoded behaviour.
It looks like it's using the Monte-Carlo bot, "which plays out as many random games as it can within 5 seconds and plays which ever next position had the greatest percentage of wins". So, yup, not hardcoded :)