A minimal and parallel physics simulator