Minor issue: for Python's initial solution (the generated code when you first start solving), you missed a colon after 'def gordon(a)' (should be 'def gordon(a):')
One of the test cases in the test is missing the function name and therefore always returns false because the argument list and the result list are different
Hi, very nice kata, love it :)
Please please please make a harder version (either normal chess or atomic chess or even both) (suggestions to make it harder below)\
Instead of f3xe5 the input is a proper chess notation e.g. Nxe5 - this will allow move disambiguation (and of course double disambiguation!!!!)
Allow pawn promotion, castling and en passant
Verify whether a move is legal (especially for castling - cannot castle out of check, into check, or through check)
Require the solution to output whether either side is in check or in checkmate
from string import ascii_lowercase will give you a variable (type string) called ascii_lowercase which equals 'abcdef...wxyz' (ascii_uppercase works the same way)
typo in Java: celestailBodies in argument name should be celestialBodies (celestial instead of celestail)
Please use snake_case in Python, camelCase is hurting my eyes :(
'global word_list' is unnecessary in python. Able to access word_list without that line.
This comment is hidden because it contains spoiler information about the solution
Minor issue: for Python's initial solution (the generated code when you first start solving), you missed a colon after 'def gordon(a)' (should be 'def gordon(a):')
This comment is hidden because it contains spoiler information about the solution
One of the test cases in the test is missing the function name and therefore always returns false because the argument list and the result list are different
Hi, very nice kata, love it :)
Please please please make a harder version (either normal chess or atomic chess or even both) (suggestions to make it harder below)\
This comment is hidden because it contains spoiler information about the solution
from string import ascii_lowercase will give you a variable (type string) called ascii_lowercase which equals 'abcdef...wxyz' (ascii_uppercase works the same way)
Put a dictionary in the 'preloaded' tab, it'll make people's lives much easier
I'll mark the issue as resolved for now so that I can re-publish the kata
I fixed the first problem (added arguments), but when you say refsol do you mean the 'complete solution'? (Am I allowed to leave it blank?)
Seriously though, thanks so much for your help, I really appreciate it
Resolved! ;-) (Finally... *sigh*)
Loading more items...