Tweak gameplay settings

- Increase barrier frequency
- Slightly refactor barrier generation for readability
- Add comments in game creation function