Platform game based on 2048. HTML/JS