Update .gitignore

This is a variation of the game exercise they have you do on codecademy javascript section 4. I'd like to figure out how to code it so if the user types choice1, the game ends with a message. How do I do that?