New techniques can make physical therapy a game