Currently I am programming Gin Rummy in C++11 and when dealing out cards my deck removes cards initially so the player gets a real like hand but when moving to dealing cards to the next player it gives that player the same Cards. Here is a link to a github repo which contains my files. I will attach the output. If you wish to compile the code please you the ./compile script, it contains the necessary files and excludes the table.cpp. This is the output
Github Repo: Gin Rummy
Currently I am not including table.cpp to table.h to be compilied. I am confused on why it is not removing the Card objects from the Deck vector.
Aucun commentaire:
Enregistrer un commentaire