Don't Let The Pig Escape

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

You control the fence by clicking one of the eight arrows. The pig moves up, down, left, or right.


You win after encircling the pig completely by fences, making sure that the fence closes with an overlap. The pig wins if it reaches the edge of the playing field or when the limit of moves is reached.


Contributed by: Tian "Cathy" Dong (July 2013)
(Mathematica Summer Camp 2013)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.