Hey ! I think I spotted a small issue on description of Bronze league, in French:
âPour cette ligue, le jeu dure le temps quâil faut au soleil pour tourner autour du plateau 6 fois . Ce qui signifie que les joueur disposent de 24 jours pour jouerâ
Looks like itâs not â6 foisâ but â4 foisâ. The sun moves in 6 positions, so 6 x 4 => 24
Les arbres de taille 1 projettent une ombre sur 1 case.
Les arbres de taille 2 projettent une ombre sur 2 cases.
Les arbres de taille 1 projettent une ombre sur 3 cases.
It should probably be :
Les arbres de taille 1 projettent une ombre sur 1 case.
Les arbres de taille 2 projettent une ombre sur 2 cases.
Les arbres de taille 3 projettent une ombre sur 3 cases.
Looks like a bug in winning conditions: the player who havenât provide an input, won the match. I suppose any wrong output should lead to lose, current score doesnât matter:
Canât able to Play My code.
Found the following error on console
48284453e60bbb98f5221d66f3b10840.html:67 Uncaught (in promise) Error: Could not load library, path not found: https://static-aznet.codingame.com/9c18438eadb420f360bbfeb5c53dca4f.js
at error (48284453e60bbb98f5221d66f3b10840.html:67)
at o (48284453e60bbb98f5221d66f3b10840.html:67)
at 48284453e60bbb98f5221d66f3b10840.html:67
at r (48284453e60bbb98f5221d66f3b10840.html:67)
at HTMLScriptElement.s.onload.s.onerror.s.onbeforeload (48284453e60bbb98f5221d66f3b10840.html:67)
Windows 10, chrome Version 90.0.4430.93 (Official Build) (64-bit)
Iâm suffering from the grey screen instead of seeing the gameplay (Macbook Pro, MacOs Big Sur (11.3) Chrome Version 90.0.4430.93 (Official Build) (x86_64)
Top of Console dump follows. I see a note about webgl â is there a more concrete fix?
api2.amplitude.com/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
pushMessage.js:89 Log on pushmessage server as 829018
angular.js:15697 Possibly unhandled rejection: undefined undefined
(anonymous) @ angular.js:15697 api2.amplitude.com/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
angularjs.js:308 Starting language server for language cpp
angular.js:15697 Error: Timed out.
at cg-analytics.js:17
at angular.js:18075
at angular.js:18123
at c.$digest (angular.js:19241)
at c.$apply (angular.js:19630)
at angular.js:21773
at ji.t.completeTask (angular.js:21403)
at angular.js:6879 âPossibly unhandled rejection: {}â
(anonymous) @ angular.js:15697 api2.amplitude.com/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
index.js:29833 grammar not found source.asm
loadGrammar @ index.js:29833
index.js:29833 grammar not found source.x86
loadGrammar @ index.js:29833
index.js:29833 grammar not found source.x86_64
loadGrammar @ index.js:29833
index.js:29833 grammar not found source.arm
loadGrammar @ index.js:29833
index.js:29833 grammar not found source.cpp.embedded.macro
loadGrammar @ index.js:29833
â Error: WebGL unsupported in this browser, use âpixi.js-legacyâ for fallback canvas2d support.
a._initDrawer @ 48284453e60bbb98f5221d66f3b10840.html:67
â Trying another canvas
â TypeError: Cannot read property âresizeâ of undefined
a._initDrawer @ 48284453e60bbb98f5221d66f3b10840.html:67
â TypeError: Cannot read property âresizeâ of undefined
(anonymous) @ 48284453e60bbb98f5221d66f3b10840.html:49
angular.js:15697 Error: Timed out.
at cg-analytics.js:17
at angular.js:18075
at angular.js:18123
at c.$digest (angular.js:19241)
at c.$apply (angular.js:19630)
at angular.js:21773
at ji.t.completeTask (angular.js:21403)
at angular.js:6879 âPossibly unhandled rejection: {}â
(anonymous) @ angular.js:15697
â TypeError: Cannot read property âresizeâ of undefined
(anonymous) @ 48284453e60bbb98f5221d66f3b10840.html:49
â TypeError: Cannot read property âresizeâ of undefined Possibly unhandled rejection: {}
(anonymous) @ 48284453e60bbb98f5221d66f3b10840.html:49 api2.amplitude.com/:1 Failed to load resource:
I think the comment on the Python portion of the code is backwards in relation to the is_dormant boolean. When it is set to 1 (True) you can perform actions on the tree, and when it is set to 0 (False) you cannot.
cc @alchemsti we have a fix to solve the gray screen issue. Updating our PIXI.js library will fix it, however upgrading the library is a slower process. It should be solved by tomorrow
I had turned off hardware acceleration in Chrome (Settings -> Advanced -> System) and turning that back on, and reloading this morning, letâs me see your beautiful UI
int distance = sourceCoord.distanceTo(targetCoord);
if (distance > sourceTree.getSize()) {
throw new TreeTooFarException(sourceCell.getIndex(), targetCell.getIndex());
}
So it would seem than an error is triggered only if the distance exceeds the source tree size. In other words, a distance less than or equal to the source treeâs size is admissible.
EDIT (a few minutes later after the post): Sorry , I realize now that the instructions say âwithin a distanceâ, âwithinâ being a key word here as it implies that any distance equal or lower is admissible. Since English is not my main language, I didnât pick up the subtlety. Still, a less subtle wording may be clearer for other people.
The defeat condition is the one in the english rules, with an âunrecognized commandâ. Playing a valid command that cannot be played (an invalid action as in the french rules) does not make the player to loose the game.