解决方案 »

  1.   

    是啊,写完了直接发来了,呵呵,不过现在还没不支持firefox,主要是event不太支持
      

  2.   

    只支持IE哈?苹果上Safari,Chrome都用不了。
      

  3.   

    解决火狐问题:
    run方法里加了这句
    var event = window.event || arguments.callee.caller.arguments[0];//火狐没有全局event
    调用set_direction时带去event
    set_direction接收function set_direction(e) {//设置此次移动的方向
    direction = e.keyCode;
    }
      

  4.   

    jquery开发实现的2048游戏网页版源代码下载 http://www.zuidaima.com/share/1993359264467968.htm