Do you know about Brick Game ('Tetris') like that, do you like it?
There's a complete Github project, written in Java (it's still NOT for the Switch, made by n0Live): https://github.com/n0Live/BrickGame
List of included games: Tetris, Dancer, Tanks, Arcanoid, Racing, Gun game, Snakes...