Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point square generation predictable #5

Open
C0urante opened this issue Nov 25, 2015 · 0 comments
Open

Point square generation predictable #5

C0urante opened this issue Nov 25, 2015 · 0 comments

Comments

@C0urante
Copy link
Owner

The current algorithm used to determine which (unoccupied) squares to place new point squares into is broken and predictable. If the user occupies a large number of consecutive squares (first from left to right, and then from high to low) and travels along a path that continues this pattern, the odds of a new point square appearing directly in front of them increase dramatically and the game becomes too predictable and easy. A new algorithm should be implemented, possibly one that involves keeping track of unoccupied squares from the beginning and simply randomly selects one square from this list randomly whenever one needs to be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant