Skip to main content

Pigs are smarter than we thought. Scientists taught them to play video games

Picture an early Atari-style game of the same era as, say, Pong or Breakout. In the game, the player scores points for maneuvering a cursor using a joystick so as to hit a colored target. On level one, it’s easy. The player is in the middle of what looks like an abstract representation of a room, surrounded by four blue walls. Each wall, running the length of the screen, is a potential target. The player need hit any wall to complete the stage. Level two is harder. Now there are only three walls to hit. Level three has just two walls. Before long, the walls are shorter, eventually forming a single square on the screen. Then the square starts to move around.

OK, so it’s not exactly Call of Duty or GTA in its complexity, but as tests of dexterity go, it isn’t bad. And while hardcore gamers might want something a little tougher, that’s alright: It’s not meant for them. Literally. The game described above is a video game designed for pigs. And the pigs are pretty darn good at it.

pigs playing video games
Purdue University

“Almost all of our pigs got to the one-sided target,” Candace Croney, professor of Animal Behavior and Well-being at Purdue University, told Digital Trends, a hint of pride creeping into her voice. “And we did have a couple of pigs that were able to get to the one-sided target that became the much shorter box. None of them got to the stage where you had the smallest box possible and it moved around. But two of them at least got to the stage where there is one target wall that shrinks down and becomes fairly small.”

World of Boarcraft

It would be great to be able to report that, with gaming proving more popular than ever, developers are turning to other species to sustain industry growth. Sadly, that’s not the case here — although the real reason is just as interesting. The video game setup, in which the animals have to nudge a joystick with their snouts to control the on-screen cursor, is intended as a test of the cognitive abilities of pigs, an animal that has not been so well-studied in this domain as some of its contemporaries. While it is well-documented that pigs are smart enough to learn basic commands, such as “sit” and “come here,” they have not previously had their higher-level cognition put through the wringer in this way.

“The bigger goal was really to get at what they can show us about the level of mental sophistication that it takes to do conceptual learning,” Croney said. “That’s the type of learning that an animal really has to figure out on their own. You can give them the tools to express behaviors that let us know if they are responding in ways that indicate knowing versus guessing. But you can’t actually give them the concept. They have to either figure it out or not.”

Cute Pig Playing Video Games

In other words, you can lead a pig to water, but you can’t make it master Civilization VI.

The pigs in the experiment — two Panepinto micro pigs and two Yorkshire pigs, named Ebony, Ivory, Hamlet, and Omelette — had to make the necessary mental leap that the manipulation of a controller was commanding another object, in a separate space, that the pig cannot otherwise interact with. It is these abstracted actions that determine whether or not the pigs receive a tasty reward, as they do when successfully completing game stages.

“It’s not just ‘move this joystick and get a reward,’ right?” said Croney. “That’s not the thing that triggers the reward. They have to move the joystick with intentionality to control this cursor on the screen. They have to make the link that that behavior is manipulating this other thing’s behavior or movement. It’s super abstract. They have to make that mental connection between what they’re doing and the effect. That’s what gets them the reward.”

How pigs process information

Interestingly, in scenarios where the machine dispensing treats stopped working, the pigs responded to verbal encouragement from the human researchers. Although they did not exhibit the skill level of nonhuman primates on a similar task, the pigs nonetheless performed well above expectations.

pigs playing video games
Purdue University

Croney said that the researchers experienced “shock and awe” when the pigs successfully moved beyond “what looks like guessing behavior — where they’re not operating above chance level of success, just playing around with the joystick — to this ‘aha’ moment where something different is happening. Once they made that connection, and you could see it in their data, we could just let them loose and they’d keep going.”

Going forward, this research could help investigators discover more about the intelligence of pigs and how they process information. It could also open up some intriguing possibilities when it comes to showing the animals symbols that might allow researchers to communicate with them more directly.

Croney said: “If you have an animal that can understand that their behavior is manipulating the behavior of something else, as abstract as a cursor, it’s not a leap to think that they could [also understand] that their behavior could result in manipulating some real-life objects someplace else — because they’ve clearly shown that they have some capacity to grasp that. And [you could conceivably imagine moving from that to], ‘maybe my behavior is actually going to impact the behavior or the response of another individual.’”

A paper describing the project was recently published in the journal Frontiers in Psychology.

Editors' Recommendations

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Spider-Man: Across the Spider-Verse features an incredible video game Easter egg
Miles Morales falls through a multiverse portal in Spider-Man: Across the Spider-Verse.

Spider-Man: Across the Spider-Verse is out now and it contains a wealth of Easter eggs for video fans to obsess over. It's full of references to Spidey's history, from his comic books to cartoons and beyond. The animated sequel even includes some nods to the franchise's video game history, leading to one of its best (and most obscure) references: Spider-Man for the Atari 2600.

(A quick heads up if you're afraid of spoilers: This article contains some very light story details for Spider-Man: Across the Spider-Verse.)

Read more
Best gaming laptop deals: Portable gaming rigs from $600
The Alienware x17 R2 Gaming Laptop viewed from the back.

If you're keen to game while on the move, you need a sweet gaming laptop. Regular laptop deals won't cut it as you need something with a dedicated graphics card and maybe even something with some cool gamer looks too. Gaming laptops aren't cheap but that doesn't mean there aren't some great deals around. If you're looking to invest in a cool new gaming laptop, we've picked out the current best deals around right now. We've considered different budgets as well as different requirements so there's something for everyone below. Take a look and see what appeals to you.
Lenovo IdeaPad Gaming 3 -- $600, was $900

Known as one of the best laptop brands for both gaming and business purposes, Lenovo knows how to make a robust system. The Lenovo IdeaPad Gaming 3 packs a lot into its great price tag. It has an AMD Ryzen 5 5600H processor, 8GB of memory and 256GB of SSD storage. More storage space would be nice but if you're fine just having a few games installed at once, this won't slow you down. It also has an Nvidia GeForce RTX 3050 Ti graphics card which is great for playing the latest games if you don't mind tweaking the detail level. As well as that, there's a 15.6-inch full HD screen, white backlit keyboard and a cool-looking style to the laptop.

Read more
Nintendo Switch’s weirdest launch game is getting a surprise sequel
Key art for Everybody 1-2-Switch!

Nintendo has quietly announced Everybody 1-2-Switch!, a sequel to one of the oddest launch titles for Nintendo Switch.
1-2-Switch! was a Nintendo Switch launch title that served as a tech demo of sorts for the Joy-Con controllers, with players completing minigames based on direction from actors in live-action clips. It's a very quirky and critically divisive Nintendo Switch game, so it's a bit surprising to see a follow-up. According to the eShop listing for Everybody 1-2-Switch!, this game lets players use their Joy-Cons or smartphones to complete a variety of team-based minigames. And that's about all we've seen or know about this $30 game ahead of its June 30 launch alongside some new pastel Joy-Cons.

Everybody 1-2-Switch!'s announcement was quite unorthodox for Nintendo. It simply tweeted about the game's existence and opened up preorders on the eShop. This all happened with no reveal trailer less than a month before the game's launch. It's unknown why Nintendo's taking this approach instead of including the game in a Nintendo Direct or other major showcase, but a 2022 report from Fanbyte may reveal the answer. According to that report, Everybody 1-2-Switch! tested horribly, and Nintendo worried that the game could "damage the company’s reputation as a great software developer." 
Almost a year after that report, it seems that the game has improved enough to release, or maybe Nintendo is just willing to take the hit after the impressive launch and critical reception of The Legend of Zelda: Tears of the Kingdom. Either way, this is a weird sequel to a weird Nintendo Switch launch game that's being mutedly marketed so it doesn't elicit much hype. We'll just have to wait and play it for ourselves if we want to know whether Everybody 1-2-Switch! is an enjoyable game or not.
Everybody 1-2-Switch! will be released physically and digitally for Nintendo Switch on June 30.

Read more