jlefkoff / GridBoard

a project to use an LED matrix for grid based games for the '21 Interactive art installations winterm
MIT License
0 stars 1 forks source link

Elegant button grid #3

Open BennettOpie opened 3 years ago

BennettOpie commented 3 years ago

Find a way to more cleanly sort which button is which in the 4 button tiles for TTT.

gsalaman commented 3 years ago

Check this out: https://github.com/jlefkoff/GridBoard/blob/button_playground/get_button_dev/button_mapper.py

It's a way to map "physical" button (x,y indexed) to an arbitrary "virtual" button.

Let's chat...and I'm guessing this will be relevant for more than TTT...