Trying to get to a solution with the fewest lines of code while staying readable.
So I removed some old and unused code to start that process.
I looked up the terminology of solitaire games and found out that the two important areas for Yukon are called tableau and foundation,
so I renamed what I used to call spots to tableau.
Introduced a common baseShape CSS class and removed some single purpose classes along the way.
Also fixed the way I space the cards from the parent card by reusing code I had developed before I used the nested div approach.
Board looks much better now :)
Added the foundation spots.
Fixed the z-index of dragged cards.
Reveal cards if all visible children are moved away.
Todo: fix the card spacing after a drop, use the foundation.
Much improved dropHandler, it is starting to feel like Yukon now.
Started foundation handling.
Fixed the top CSS spacing after a drop.