Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saulpw
on Dec 6, 2023
|
parent
|
context
|
favorite
| on:
A chess TUI implementation
You can be clever and use half-blocks: ♘
shmageggy
on Dec 6, 2023
[–]
What's a half-block and how do I use one?
saulpw
on Dec 6, 2023
|
parent
[–]
Sorry, that didn't render. They're U+258C and U+2590. So you put them on either side and each square is rendered across 3 cells, and the 2 outer cells are half-blocks shared with the adjacent squares.
https://en.wikipedia.org/wiki/Block_Elements
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: