The 2048 game with React.js