Polaris physics engine and game prototype Polarity