Probably more important, "SET" is a registered trademark, and the game is copyrighted.
See here for a previous demand:
See here for a previous demand:
In that Set C&D, the infringing implementation is using art assets from the copyrighted Set game. Presumably, a version with different colors/shapes/etc (and a different name, so as to also avoid trademark infringement) would be totally fine.