AndyObtiva / glimmer-dsl-libui

Glimmer DSL for LibUI - Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library - The Quickest Way From Zero To GUI - If You Liked Shoes, You'll Love Glimmer! - No need to pre-install any prerequisites. Just install the gem and have platform-independent GUI that just works on Mac, Windows, and Linux.
MIT License
474 stars 15 forks source link

[Small feature suggestion in tetris-libui] Consider making the preview-next-tetris-block optional #10

Closed rubyFeedback closed 2 years ago

rubyFeedback commented 2 years ago

Hey Andy,

Please disregard/modify as you wish in regards to the following suggestion.

I just tested tetris on libui; works fine on linux, no bugs that I could see. \o/

On icewm it looks like this:

https://i.imgur.com/H8Kq2dI.png

There is one suggestion I have: make it possible to NOT show the "preview next tetris block" as a feature, perhaps via the menu on top, where you grouped other functions, such as "Pause" and so forth.

Rationale for the proposal here: if possible I think it would be nice for users / players to decide how difficult tetris should be. Offering preview by default is nice and convenient for new users, but some may want to have a slightly more challenging tetris, so not showing the preview may be useful for these users / players. On a related note, perhaps it should be possible for players to determine the number-of-ticks (in other words the starting speed e. g. how fast the tetris blocks are moving).

If glimmer uses a unified code base for tetris then this perhaps has to be considered for all tetris variants, to avoid fragmentation of the code base or usability (e. g. I am NOT suggesting to make this SOLELY confined to tetris-via-libui, but to how glimmer approaches tetris in general. Tetris and snake kind of have a demo-purpose for glimmer, I completely understand that.)

As always please feel free to close the issue at any moment in time! Glimmer on. \o/

AndyObtiva commented 2 years ago

Done in v0.4.22

Change Log for v0.4.22:

Glimmer Tetris

Screen Shot 2022-02-05 at 5 42 29 PM Screen Shot 2022-02-05 at 5 42 22 PM Screen Shot 2022-02-05 at 5 42 57 PM Screen Shot 2022-02-05 at 5 43 06 PM