The Return of Stezen D'Polarno (Or 'Portrait of the Artist as a Young Necromancer') (1992) by James Lowder
Summary: Sequel to dance of the dead. PC's goal is to steal back the painting from the vistani and return it to Stezen. Pc were just taken from Toril, so Stezen is offering a way home. After getting back the portrait, Stezen uses it on them. Once in the painting they find themselves in another dimension built around the history of Stezen D'Polarno and the rules of art. The PC's escape but are spirits similar to haunts but can only possess objects (specific wooden game pieces attuned to spirits) and must strike while Stezen is vulnerable.
Game featured within the adventure which later they take over its pieces reminds me of starwars chess





