Hello y’all.
My problem is the following;
I’m trying to code chess in the Terminal, no external windows used, so basically without TKinter or anything of that sort. The way I imagined I could display the different pieces was by creating my own Font, which only consists of pixelated versions of the different pieces.
I’ve already gotten myself rather aquianted with curses to solve most of my problems, like how to structre my interface and how to display different screen elements in the terminal and so on.
Thing is that seemingly curses doesn’t support rich text formating, so I won’t be able to use fonts.
Is there a way for me to use fonts with curses in any capacity? Do I need to switch my library entirely? Is there a way to still have the abstractions and functions of something like curses whilst also being able to change the font of a string?
Is it at all possible to creat cmd application or something mimicing the cmd in which I can use fonts?
Help would be greatly appreciated.
submitted by /u/Humorius2
[link] [comments]
r/learnpython Hello y’all. My problem is the following; I’m trying to code chess in the Terminal, no external windows used, so basically without TKinter or anything of that sort. The way I imagined I could display the different pieces was by creating my own Font, which only consists of pixelated versions of the different pieces. I’ve already gotten myself rather aquianted with curses to solve most of my problems, like how to structre my interface and how to display different screen elements in the terminal and so on. Thing is that seemingly curses doesn’t support rich text formating, so I won’t be able to use fonts. Is there a way for me to use fonts with curses in any capacity? Do I need to switch my library entirely? Is there a way to still have the abstractions and functions of something like curses whilst also being able to change the font of a string? Is it at all possible to creat cmd application or something mimicing the cmd in which I can use fonts? Help would be greatly appreciated. submitted by /u/Humorius2 [link] [comments]
Hello y’all.
My problem is the following;
I’m trying to code chess in the Terminal, no external windows used, so basically without TKinter or anything of that sort. The way I imagined I could display the different pieces was by creating my own Font, which only consists of pixelated versions of the different pieces.
I’ve already gotten myself rather aquianted with curses to solve most of my problems, like how to structre my interface and how to display different screen elements in the terminal and so on.
Thing is that seemingly curses doesn’t support rich text formating, so I won’t be able to use fonts.
Is there a way for me to use fonts with curses in any capacity? Do I need to switch my library entirely? Is there a way to still have the abstractions and functions of something like curses whilst also being able to change the font of a string?
Is it at all possible to creat cmd application or something mimicing the cmd in which I can use fonts?
Help would be greatly appreciated.
submitted by /u/Humorius2
[link] [comments]