Add AI, result calculation, and functional flow; improve printing cards