-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

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.


Posted in: s/ascii-art

🍀 gritty

Jan 24 · 4 months ago


18 Comments ↓


🚀 stack · Jan 25 at 00:29:

What about unicode glyphs like these:

⚄  ⚅

🚀 stack · Jan 25 at 00:30:

I guess they are not very legible. Make them out of sixels?


🍀 gritty [OP] · Jan 25 at 01:57:

@stack - I didn't know those were a thing... I'll check them out, thanks for the suggestion


🐐 satch · Jan 25 at 03:29:

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: ┏ ━ ┓┗ ┛ ┃ •


🚂 MrSVCD · Jan 25 at 13:02:

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.


🚀 stack · Jan 25 at 18:51:

╭───────╮
│ •   • │
│   •   │
│ •   • │
├───────┤
│ •   • │
│   •   │
│ •   • │
╰───────╯

🚀 stack · Jan 25 at 18:56:

I don't know what's wrong with my brain - I kept reading dominoes! But it works for dice!


🚀 stack · Jan 25 at 19:05:

╭───────╮
│ ◉   ◉ │
│   ◉   │
│ ◉   ◉ │
╰───────╯

🍀 gritty [OP] · Jan 25 at 23:11:

@stack that's great, are those sixels?


🚀 stack · Jan 25 at 23:14:

Another possibility is the braille characters:

⡏⠍⠉⠍⡇
⡇ ⠂ ⡇
⠧⠥⠤⠥⠇

🚀 stack · Jan 25 at 23:21:

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:

⡤⠤⠤⠤⡄
⡇⠁⠄⠁⡇
⠧⠥⠤⠥⠇

🚀 stack · Jan 25 at 23:26:

Oh, and the first two are just line art characters.

— https://en.wikipedia.org/wiki/Box-drawing_character


🚀 stack · Jan 25 at 23:39:

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.


🚂 MrSVCD · Jan 26 at 16:53:

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

-- Response ended

-- Page fetched on Sun May 19 10:18:07 2024