Ninjas and Pirates are now somewhat smarter