💾 Archived View for bbs.geminispace.org › u › gritty › 14337 captured on 2024-05-12 at 18:49:21. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-10)
-=-=-=-=-=-=-
Re: "Request. I am making a dice game but can't find any ASCII..."
@stack - I didn't know those were a thing... I'll check them out, thanks for the suggestion
Jan 25 · 4 months ago
Here's something ridiculously simple, use if you want:
Face 1: _______ | | | • | | | ‾‾‾‾‾‾‾ Face 2: _______ | • | | | | • | ‾‾‾‾‾‾‾ Face 3: _______ | • | | • | | • | ‾‾‾‾‾‾‾ Face 4: _______ | • • | | | | • • | ‾‾‾‾‾‾‾ Face 5: _______ | • • | | • | | • • | ‾‾‾‾‾‾‾ Face 6: _______ | • • | | • • | | • • | ‾‾‾‾‾‾‾
🍀 gritty [OP] · Jan 25 at 03:37:
@satch hmm interesting that may work. I was using slightly different characters and didn't come out like these. thanks.
👤 AnoikisNomads · Jan 25 at 05:56:
improving further on satch's idea, you might be able to use unicode glyphs for the border, to get a smooth edge. I can't figure out how to post a full dice, so here are the individual segments: ┏ ━ ┓┗ ┛ ┃ •
I did som digging on wikipedia on Box-drawing characters.
— https://en.wikipedia.org/wiki/Box-drawing_character
this is if you want to go above ASCII into unicode. Otherwise I really liked the dice above.
👤 nikhotmsk · Jan 25 at 13:52:
MS-DOS machines do have editable fonts, I have seen a tetris clone that use custom fonts for displaying tetris blocks.
╭───────╮ │ • • │ │ • │ │ • • │ ├───────┤ │ • • │ │ • │ │ • • │ ╰───────╯
I don't know what's wrong with my brain - I kept reading dominoes! But it works for dice!
╭───────╮ │ ◉ ◉ │ │ ◉ │ │ ◉ ◉ │ ╰───────╯
🍀 gritty [OP] · Jan 25 at 23:11:
@stack that's great, are those sixels?
Another possibility is the braille characters:
⡏⠍⠉⠍⡇ ⡇ ⠂ ⡇ ⠧⠥⠤⠥⠇
I used to think so, but I think these are just Braille characters; sixels are a different ANSI mode? Have to look into it more. Here is a more proportional one:
⡤⠤⠤⠤⡄ ⡇⠁⠄⠁⡇ ⠧⠥⠤⠥⠇
Oh, and the first two are just line art characters.
— https://en.wikipedia.org/wiki/Box-drawing_character
Rounded corners. I may like this better, but it's a matter of taste.
⡠⠤⠤⠤⡀ ⡇⠁⠄⠁⡇ ⠣⠥⠤⠥⠃
🍀 gritty [OP] · Jan 26 at 01:43:
nice! thanks everyone!
I have a python program now that takes the parts and constructs them line by line no matter how many you have horizontally. hoping to have a Gemini prototype of the game in the next month or so. sooner if I find the time.
Sixel are part of terminal realm and not unicode. The specification comes from DEC and their VT series of terminals. So your terminal need to understand Sixels for it to work.
— https://en.wikipedia.org/wiki/Sixel
Request. I am making a dice game but can't find any ASCII dice that I like. has anyone come across just the 6 square faces of a die that looks okay? I want to stack them 3 wide on the screen, so nothing huge. I made my own but they are...not good.