Yeah, the CPU is just... not smart lol. This was largely a test of a card game UI framework I've been developing, so definitely a few rough edges with game-specific things like the CPU.
With *that* being said, the framework has come a long way since then - I'd definitely like to make an updated version of this with a bunch more QoL and features at some point, since I think the core card game is pretty fun.