How can I implement deterministic physics

Good luck.