The leads of the pot could be attached to the Analog in of the digispark then it is just pulling a sample repeatedly of the current value of the pot. As far as taking the value of the pot and turning it into something in the game you would likely have to write a controller driver and of course your game would have to support all that.