Made the flipCard param that is passed more explicit
Simplified some of the if/else statements
Added some comment verbiage to make what is happening a bit more clear
Fixed the javadoc for the flipCard() function