Mashup: Reddit / Firebase Multiplayer Memory Game

How could you refactor this method?