GithubHelp home page GithubHelp logo

如何在本地运行 about codegame HOT 9 CLOSED

luin avatar luin commented on August 16, 2024
如何在本地运行

from codegame.

Comments (9)

luin avatar luin commented on August 16, 2024

我更新了一下 README,你看看行不行。创建地图直接改数据库吧,现在网页上的功能不好用。

from codegame.

GaZ3ll3 avatar GaZ3ll3 commented on August 16, 2024

好了可以了。

from codegame.

GaZ3ll3 avatar GaZ3ll3 commented on August 16, 2024

我在本地调试使用print出错,提示print is not defined

from codegame.

luin avatar luin commented on August 16, 2024

print 只能在 onIdle 函数里用

from codegame.

GaZ3ll3 avatar GaZ3ll3 commented on August 16, 2024

是在onIdle里面。
screenshot from 2014-12-14 23 45 20

from codegame.

luin avatar luin commented on August 16, 2024

这样好神奇,应该不会的样子。其他功能正常吗

from codegame.

GaZ3ll3 avatar GaZ3ll3 commented on August 16, 2024

其他正常。我把isAdmin直接改为return true了,所以可以看到地图,这是唯一修改的地方。

from codegame.

luin avatar luin commented on August 16, 2024
function onIdle(me, enemy, game) {
  print(1);
}

改成这样呢?

from codegame.

GaZ3ll3 avatar GaZ3ll3 commented on August 16, 2024

也一样的。

from codegame.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.