Update flashcards.rb

Updated GameMaster class.