Giter VIP home page Giter VIP logo

springchallenge2022's Introduction

springchallenge2022's People

Contributors

bastienalbanet avatar beyond-time avatar cgjupoulton avatar chickentuna avatar deathvenom54 avatar dstulle avatar gram2005 avatar imophen avatar kyraleese avatar ra-wo avatar sakisan avatar scpchicken avatar shadynagy avatar simonfuet avatar spiderseb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

springchallenge2022's Issues

Npm dependency not found

When running npm install in the src/main/resources/view folder, I get the following error:

System:

OS Name Microsoft Windows 10 Home
Version 10.0.19043 Build 19043
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name SPECTRE-X360-EL
System Manufacturer HP
System Model HP Spectre x360 Convertible 15-eb0xxx
System Type x64-based PC
System SKU 9GB30UA#ABA
Processor Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz, 2592 Mhz, 6 Core(s), 12 Logical Processor(s)

Edit: npm version: 16.13.1


Error (more info in attached file):
2022-04-21T18_16_34_888Z-debug.log

npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! code E404
npm ERR! 404 Not Found - GET https://build.codingame.com/nexus/repository/npm-all/xregexp/-/xregexp-4.4.1.tgz
npm ERR! 404

npm ERR! 404 'xregexp@http://build.codingame.com/nexus/repository/npm-all/xregexp/-/xregexp-4.4.1.tgz' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\micha\AppData\Local\npm-cache_logs\2022-04-21T18_16_34_888Z-debug.log

Process finished with exit code 1

Missing graphics/ViewModule.js

UI is unable to load ViewModule.js:

GET http://localhost:8888/graphics/ViewModule.js net::ERR_ABORTED 404 (Not Found)

And then fails with the following error:

jquery.min.js:2 Uncaught Error: [$injector:modulerr] Failed to instantiate module player due to:
Error: [$injector:nomod] Module 'player' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

https://errors.angularjs.org/1.7.8/$injector/modulerr?p0=player&p1=Error%3A%20%5B%24injector%3Anomod%5D%20Module%20'player'%20is%20not%20available!%20You%20either%20misspelled%20the%20module%20name%20or%20forgot%20to%20load%20it.%20If%20registering%20a%20module%20ensure%20that%20you%20specify%20the%20dependencies%20as%20the%20second%20argument.%0Ahttps%3A%2F%2Ferrors.angularjs.org%2F1.7.8%2F%24injector%2Fnomod%3Fp0%3Dplayer%0A%20%20%20%20at%20https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fangular.js%2F1.7.8%2Fangular.js%3A138%3A12%0A%20%20%20%20at%20https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fangular.js%2F1.7.8%2Fangular.js%3A2308%3A17%0A%20%20%20%20at%20ensure%20(https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fangular.js%2F1.7.8%2Fangular.js%3A2229%3A38)%0A%20%20%20%20at%20module%20(https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fangular.js%2F1.7.8%2Fangular.js%3A2306%3A14)%0A%20%20%20%20at%20https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fangular.js%2F1.7.8%2Fangular.js%3A5036%3A22%0A%20%20%20%20at%20forEach%20(https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fangular.js%2F1.7.8%2Fangular.js%3A387%3A20)%0A%20%20%20%20at%20loadModules%20(https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fangular.js%2F1.7.8%2Fangular.js%3A5020%3A5)%0A%20%20%20%20at%20createInjector%20(https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fangular.js%2F1.7.8%2Fangular.js%3A4937%3A19)%0A%20%20%20%20at%20doBootstrap%20(https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fangular.js%2F1.7.8%2Fangular.js%3A1960%3A20)%0A%20%20%20%20at%20bootstrap%20(https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fangular.js%2F1.7.8%2Fangular.js%3A1981%3A12)
    at angular.js:138:12
    at angular.js:5060:15
    at forEach (angular.js:387:20)
    at loadModules (angular.js:5020:5)
    at createInjector (angular.js:4937:19)
    at doBootstrap (angular.js:1960:20)
    at bootstrap (angular.js:1981:12)
    at angularInit (angular.js:1866:5)
    at HTMLDocument.<anonymous> (angular.js:36430:5)
    at e (jquery.min.js:2:29453)

Suggestion to add a license file to the repository

Hello! I came across your code and I was wondering if you have considered adding a license file to your repository. A license file is a way of letting others know how they can use or modify your code legally. Without a license file, your code is technically not open source and no one can use it without your permission. This might limit the potential impact and reach of your project. GitHub recommends that you include a license in your repository to let others know how can your code be used and built upon (Source: Licensing a repository). If you are interested in making your project open source, you can check out Choosing a license to learn more about the different types of licenses and their benefits.

To add a license file to your repository, you can follow the steps in this guide: Adding a license to a repository. You can also read this article for more information on open source licensing: Open Source Licensing Guide.

Wrong threatFor?

I think need to check monster position is outside before a base attraction.

while (!stop && turns < 8000) {
// Am I inside an attraction zone?
for (int idx = 0; idx < basePositions.size(); ++idx) {
Vector base = basePositions.get(idx);
if (cur.inRange(base, Configuration.BASE_ATTRACTION_RADIUS)) {
mob.status = new MobStatus(turns == 0 ? ATTACKING : WANDERING, gameManager.getPlayer(idx), turns);
stop = true;
break;
}
}
// Am I outside the map?
if (!insideMap(cur)) {
mob.status = new MobStatus(WANDERING, null, turns);
stop = true;
}

Reproduced error replay https://www.codingame.com/replay/621441027

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.