Wizard dream

I had a dream where I was duelling a group of wizards in a six-dimensional space, vying for possession of certain magical items, which would confer special abilities, and advantageous positions on the game board. The world behaved according to elegant mathematical rules. The stakes were high. Losing would cost everything. Your sanity, your life. But it had the "safe" quality of a typical dream.