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

Optimize board resizing #3

Open
extrajordanary opened this issue Feb 20, 2015 · 1 comment
Open

Optimize board resizing #3

extrajordanary opened this issue Feb 20, 2015 · 1 comment

Comments

@extrajordanary
Copy link
Collaborator

At the end of a game, I'm on a 23x23 board, but based on the tile arrangement I only need to be on one 14x14 to contain all the tiles and have a 1 empty square buffer on all sides.

Would be nice to only add rows or columns on the side where tiles are getting close to the edge. So not adding 2 rows and 2 columns each time. Could add just 1 of each to the appropriate side and/or make it so that the tile contents are always re-centered.

This will help keep the tiles at a larger size for longer.

@AlexNisnevich
Copy link
Owner

We've tried doing this in the past but it became a bit tricky to keep track of board state that way and we got stuck. But it's definitely something we should look at again. Any ideas, @neunenak ?

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

2 participants