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.
ok
Yes, but then again it's not a good experience for a kata that (based on current ranking votes) would be 7kyu to scroll through the output horizontally and search for the placement of each new-lines and bar chars when they can just show it normally.
Reference solution uses undeclared variables.
( Example solution does as well. I sincerely hope you didn't upvote your own solution, in which case two other people think declaring variables is overrated in JS. )
ad (2) That would not make the trailing newline visible though.
Ending with a newline is not the usual JS convention. Separating with newlines is.
Uses
Node 8.x
instead ofNode 18.x
, even though18.x
works.Other chars:
Simply using
'◼'
(9724) instead seems to solve the problem:I think monospace won't solve the problem if unicode chars are used. I ended up building css grids on the fly, to circumvent that kind of problems, in some myjinxin's kata (something about hearts)
The prior suggestion reveals that the
█
and☐
are not the same width, at least when viewed with the font used here (Consolas regular 11).This one is suggesting that it would be more appealing if a monospace font was used to reveal a visually balanced bar chart.
The description is very JS specific in how to round. This doesn't lend itself well for translations.
chai.config.truncateThreshold
to0
orfalse
so that user can see fully the expected result.i fixed the wrong, thank you :)
sorry, i am use a translate app, i am a Chinese
Loading more items...