Particles O(n*n) issue resolved, GameState type added.
Merge pull request #1 from saxonmatt/functional

Particles O(n*n) issue resolved, GameState type added.