Chapter 16. Planning Game Simulator

We have a GUI program we'd like to clean up. It's a simple simulation of XP's planning game, shown in Figure 16.1. The customer can create new cards, split existing cards, delete old cards, and get a simple analysis of the plan. The programmer can put a cost estimate on a card and update the velocity estimate. In addition, anyone can type on a card or move it around by dragging its border. Notice also that there is summary information on the bottom of the screen, updated after each action.

Simulation of XP's Planning Game

Figure 16.1. Simulation of XP's Planning Game

The code for this program is built around three classes: Table (the overall application, ...

Get Refactoring Workbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.