runarberg / random-go-stone-placements

Generate a random starting position for your go games
https://runarberg.github.io/random-go-stone-placements
MIT License
1 stars 0 forks source link

Conditionally display radio items in allocators and placers #22

Open runarberg opened 4 years ago

runarberg commented 4 years ago

@sabu36 This will only show relevant options depending on if you select “point” or “rectangle”.

In the future I’m thinking about skipping the “point” / “rectangle” selection and present all of the 5 allocators while filtering the relevant placers depending if which once are supported. I guess we can do the same with the “weights” as it is not relevant for many of the placers.