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
Working on it for some time, it still needs to be better.
Code climate is a got point to have a look.
Basically it is reducing complexity and length of functions and splitting up large files into smaller units.
The text was updated successfully, but these errors were encountered:
Not sure if you know screeps (https://screeps.com/). It is a massive multiple player strategy game with an in game editor.
I released my code as bot (which everyone can use on their private servers) as well as a code base for others.
A lot of code is written in the in game editor while playing the game, so written fast not optimized on quality.
I added codeclimate (https://codeclimate.com/) which showed that there is a lot of complexity. You can also run eslint -c .eslintrc-codeclimate src/. I think extracting certain functionality into other methods / splitting up files can solve a lot of issues.
I also think there is also room for improvement in javascript/nodejs knowledge, it was my first bigger project getting into javascript.
Working on it for some time, it still needs to be better.
Code climate is a got point to have a look.
Basically it is reducing complexity and length of functions and splitting up large files into smaller units.
The text was updated successfully, but these errors were encountered: