Creating a mischievous AI character in code