flashcard game fully working