The basic idea here is to invent a toy, then play with it. Nowhere near as good as the "Dragon's Egg" series -- but it is one hell of a cool toy.
There are lots of different editions of this originally-serialised story; mine's the New English Library one.
ISBN 0450058239.