Live data from Hacker News

A chess TUI implementation

github.com

31–40 of 47 posts

Re: A chess TUI implementation

#31
post #8

It has always bothered me that there are no Unicode code points for the left/right halves of chess pieces, which would enable a nearly square board using two characters per square. This is a nice solution, but it makes for a rather big board.

You can be clever and use half-blocks: ♘

What's a half-block and how do I use one?

Re: A chess TUI implementation

#32

Honest question, is there any open source non-subscription based no-frill virtual chess board on Android that allows you to simply play chess offline against human or AI, in the same spirit as VLC on Android?

Lichess is fully open source and the best chess platform right now, online or offline.

Re: A chess TUI implementation

#33
Hey, I have my own chess with a textual UI which allows you to play against several beginner-level chess AI opponents:

- Maia chess (https://maiachess.com), the human-like chess engine based on neural networks,

- several of neural networks by Dietrich Kappe (https://github.com/dkappe/leela-chess-weights/releases),

- and handicapped Stockfish (https://stockfishchess.org).

The whole thing is at https://github.com/magv/bchess, and can be installed with just 'pip install bchess'.

Re: A chess TUI implementation

#35
post #27

Various TUI modes were implemented in the ICS protocol for online chess. telnet freechess.org 5000 still works.

This is the coolest thing ever! it's a bit hard to play because black/white is not so easy to distinguish but you probably get used to it. (I lost cause I mixed up my knight with my opponents)

Re: A chess TUI implementation

#38
This is probably one of the most egregious "in rust" projects I've seen. Should I care about the performance improvements over something like Python in a program where I'm going to spend 99.999% of the time thinking? Should I be concerned about memory safety in other chess implementations written in C? The only thing Rust seems to add over Python or Go for things like this is making it harder to hack.

Re: A chess TUI implementation

#40

It's wild to me how many people writing native software opt to sandbox everything with docker these days

It’s just a distribution mechanism that users like. The page details other ways to install, including native methods. The container is at the top just because it will be the first thing many people will want to try.
Post reply on HN