V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
markliu2013

分享一个自己多年以前写的坦克大战游戏

  •  
  •   markliu2013 · Nov 11, 2022 · 2094 views
    This topic created in 1275 days ago, the information mentioned may be changed or developed.

    代码: https://github.com/markliu2013/tank-war 预览: http://demo.jiukuaitech.com/tank-war/index.html

    当时还是刚毕业没多久,没什么工作经验,就写了这个去找工作。 以前前端技术特别少,一个 jQuery ,HTML ,CSS 就可以了,面向对象还是用的 prototype 来实现的。

    这几年前端技术变化特别多,现在如果用 ReactJS 或者 VueJS 来重写一次,代码应该会更加简洁易懂。

    2 replies    2022-11-11 16:36:12 +08:00
    RnzxTpyeoSwh7
        1
    RnzxTpyeoSwh7  
       Nov 11, 2022
    ❤️👍
    byte10
        2
    byte10  
       Nov 11, 2022
    挺不错的!! 我当年写的是一个飞行棋,差不多 2000 行左右的代码😄
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3106 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 03:35 · PVG 11:35 · LAX 20:35 · JFK 23:35
    ♥ Do have faith in what you're doing.