You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.
The file /clients/javascript/position.js exports a function named clamp. Using this function leads to an error, because it needs the typify lib, which is not imported in /clients/javascript/position.js.
ReferenceError: typify is not defined
at Object.clamp (/home/martin/tyckiting/space-tyckiting/clients/javascript/position.js:86:5)
at neighbours (/home/martin/tyckiting/space-tyckiting/clients/javascript/ai/MajorTom/ai.js:207:77)
As a workaround, using /server/server/position.js instead for the bot works (as demonstrated by my bot), because this version contains the needed import and is nearly identical to /clients/javascript/position.js.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The file /clients/javascript/position.js exports a function named
clamp
. Using this function leads to an error, because it needs the typify lib, which is not imported in /clients/javascript/position.js.The error message looks like this:
As a workaround, using /server/server/position.js instead for the bot works (as demonstrated by my bot), because this version contains the needed import and is nearly identical to /clients/javascript/position.js.
The text was updated successfully, but these errors were encountered: