Playground support both MDAPI & DX Source structure. You can upload your plays by various means as described in this section of the documentation.
The thumb rule is if you are able to see src or force-app folders in root on your Components section on the Play Detail page, Playground will always pick them & run your deployments.