DEV Community

Discussion on: Rethinking Gameboards

Collapse
 
mattcale profile image
Matthew Cale

I had the same thought and see no reason it wouldn’t be able to achieve pretty cool animations with very little overhead.

Collapse
 
parenttobias profile image
Toby Parent

So I had put this aside for a long while, moved on to other ideas and projects, but recently working through the logic of the Knight's Travels problems, and the fact that this was still in issue bugged the crap out of me. So I did a little digging, and found github.com/aholachek/animate-css-grid - which very cleanly, easily handles the animation between grid-areas!

The nice thing about it is, I can remove the static CSS initial values, and it was a seamless, modular update. The replit is using the animation, check it out!