I'll try running it again and see what happens, will edit in the results.

---------- Post added at 08:24 PM ---------- Previous post was at 08:05 PM ----------

Yeah, still having issues, can't see why. I tried logging in and viewing as if I were playing(whilst program was stopped ofc) because it was almost as if the program were seeing the card afterwards and so ending early. I wonder if it might be that in reality it is playing the card, but that the next card is impossible to play so it isn't displaying that is has been played and so just ending the game?

Anyway, here are some more screenshots. The game was ended immediately after each time, despite there being a move available.