Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
So this translation has a lot to check:
Attributes
class object, cuz before the values were all strings, which does not looks good in comparison with the other languages (defined in preloaded section);Because that's a BIG fork, I'd like to listen to others' opinions on whether to approve, edit or whatever else.
(created with the help of Katafix)
also the last two examples are using the score = 0, although it's intended to be 10 and 20.
Attributes
as the class.You can just use the typeUpd: Map doesn't behave well with Object type, so maybe you can create a class with all needed parameters?Map<String, Object>
for the attributesm with that you can store both numbers and arrays and whatever else as values as long as they're consideredObject
values.give us a hint
If you extend this Kata to allow for let's say 0 <= flats/sharps <= 25 and 100's of random tests, it would become more mature.
--
Other than that I hope this series continues at some point.
Well, I haven't looked at the whole composition, but at 7:20 (where there is a double barline, a key signature change using two naturals & five sharps, with the notation sempre p) the music is in B major for those 6 measures.
Here: https://youtu.be/iRkMBjuqpWo?t=439, it's linked to the minute 7:19, since the compass starts arround the beggining of the second 20. Also see the bars, starting from the third one, up to the next 6, it modulates from Bb Maj to A# Maj.
Also, this piece uses quite a lot of "unusual" scales, but this is not strange to Chopin compositions.
Chopin! no kidding... can you specify the six bars where this takes place?
The A# Major scale is more of a theoretical scale, usually the songs that could be in A# are written in its enharmonic equivalente Bb. This is done beacuse it´s more practical to only have 3 flats rather than have 4 sharps and 3 double-sharps.Yet some pieces, essentially in classical music, sometimes modulate to this scale during the song like Chopin's Polonaise-fantaisie in A-flat major, Op. 61, which modulates to A# major for six bars.
Can you please direct me to a piece of music written in the key of A# major? I'm looking for mor info. Thanks!
This comment is hidden because it contains spoiler information about the solution
Ok, ok, I think it's done.
Mmmmh, correct. I always thought that the
@Test
methods were instance methods of the same instance, and not creating different instances for each method... How weird... :oBut the loop still stays more "DRY" and easier to maintain. ;)
Loading more items...