simple tile-matching game based on 2048's code