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

Implement Terminal-Size-Aware Scaling #6

Open
zacharygraber opened this issue Feb 9, 2023 · 1 comment
Open

Implement Terminal-Size-Aware Scaling #6

zacharygraber opened this issue Feb 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@zacharygraber
Copy link
Owner

Is your feature request related to a problem? Please describe.
With current configuration, the game can be small, only occupying roughly 20x20 characters in the terminal.

Describe the solution you'd like
A scale factor should be added to the game that controls how large the rendered squares are from draw_block(...). The game could also intelligently choose the largest possible scale factor (constrained by terminal character width/height) on startup and after any window resize events.

Describe alternatives you've considered
Most terminals worth their salt let you resize text anyway, but having this native would be cool.

@zacharygraber zacharygraber added the enhancement New feature or request label Feb 9, 2023
@zacharygraber
Copy link
Owner Author

Depends on window resize event handling (#4) being completed first.

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

No branches or pull requests

1 participant