Joe, Fred, and Sam find themselves whisked by The Book to the main ring-ball court in Chichin Itza, Mexico in 1000 A.D., where they must play for their lives against a Mayan High Priest who cheats.
Thanks to their magical book, Fred, Sam, and Joe inadvertently travel through time to 1877 New York City, where they and their granddaughters, who have also come from the future, help them find a way back to their own time.