I love the new community puzzles feature. It’s a great idea. Here are a couple of suggestions that might make it better:
Allow for saving / restoring of partial work. It can be very time consuming to put together a complicated puzzle, and I probably won’t be able to always do so in one sitting. I can create most of the pieces off-line, but this is a bit cumbersome.
It’s a bit strange to see all the answers and even the solution code for every submission. If we will be getting CodinPoints for solving community puzzles, then an unscrupulous individual could theoretically just save off all the solutions to pending puzzles and then fill them in later when the puzzle goes live.
Again, very cool feature, and thanks for continuing to provide exciting new content.
Where? The solution code should only be visible for the admins and the person who submitted the contribution. If not, there’s a problem we need to fix.
A problem could be to see the validators because people could hardcode the solutions.
Thanks a lot for your feedback and compliments. This feature is very limited but we intend to bring new features to improve the whole thing :).
Huh. My bad. I thought I saw code in some of the submissions that weren’t from me, but I can’t reproduce it now. I’m sure you’re right. I must have misinterpreted something that I saw. Sorry.
Another request: Programmatic validators. I know this is significantly more complex, but it would be nice to be able to write puzzles with multiple paths to victory.
Hi,
Apparently, the tests are incomplete for the parenthesis problem. Some wrong codes pass the validation without trouble.
Missing tests are where there are as many closing parenthesis as opening ones, but a closing parenthesis is before an opening one, like in “)(”.
Is it possible to complete the tests?
I’m having trouble testing a puzzle that I’m developing. When I click the “Test in IDE” button, nothing happens. The following is in the developer console:
5cd7ce74.codingame.js:5 TypeError: Cannot read property 'publicHandle' of undefined at n.a.startTemporaryPreview (https://www.codingame.com/5cd7ce74.codingame.js:38:13599) at https://www.codingame.com/5cd7ce74.codingame.js:7:20267 at n.C.(anonymous function) [as startTemporaryPreview] (https://www.codingame.com/5cd7ce74.codingame.js:5:6533) at https://www.codingame.com/5cd7ce74.codingame.js:7:20267 at e (https://www.codingame.com/5cd7ce74.codingame.js:7:26791) at n.$eval (https://www.codingame.com/5cd7ce74.codingame.js:6:10761) at n.$apply (https://www.codingame.com/5cd7ce74.codingame.js:6:10987) at HTMLButtonElement.<anonymous> (https://www.codingame.com/5cd7ce74.codingame.js:7:26843) at HTMLButtonElement._.event.dispatch (https://www.codingame.com/5cd7ce74.codingame.js:2:17673) at HTMLButtonElement.q.handle (https://www.codingame.com/5cd7ce74.codingame.js:2:14448)
I have tried restarting the browser and it doesn’t help. I’m using Chrome.
And how do you finally manage to pass the last validator A small hint ? I seem to have the same problem : I bang my head against wall but I cannot see why my code doesn’t pass the last validator !
Yes about RPN
Thanks : it was not the ROL operator but I have the error management slightly wrong : an incorrect interpretation of one of the result of the tests. However thank you for the hint. And a good puzzle, thanks for contributing !