How Smart are Pigs?

Pig plays a video game and wins!!

I know from experience that pigs are smart, but scientists are finally figuring that out too.