"The Play's the Thing" is the sixteenth episode of the third season of The Suite Life on Deck and the sixty-fifth episode overall.
After assigning the class to write their own play, Ms. Tutweiler selects Cody's play to be presented in class. However, Bailey refuses to participate after realizing the play is about the break-up between her and Cody, forcing Cody to act as Bailey and Zack as Cody. In the end, Cody realizes he learned that he made the biggest mistake for ever breaking up with Bailey.
- Matthew Timmons as Woody Fink
- Erin Cardillo as Emma Tutweiller
- Rachael Kathryn Bell as Addison
- Kevin Makely as Bruno