Print ASCII line art characters in C# console application

前端 未结 5 1993
清歌不尽
清歌不尽 2020-12-09 18:03

I would like to have a C# console application print the extended ASCII Codes from http://www.asciitable.com/. In particular I am looking at the line art characters: 169, 17

5条回答
  •  心在旅途
    2020-12-09 18:15

    I battled this for days a while back. I don't think it can be done, regardless of what other people say. Now, I was trying to make a Dwarf Fortress style game. If you are doing the same, do what he did. Use images.

    • Faster, because it can make use of graphic acceleration.
    • Easier, because they are tiles and there are LOTS of tutorials on doing that.
    • Well Supported, with things like XNA for the very framework you are already using.
    • Extensible, so you can swap in other images at a later date, for new images like the bearded smiles in DF.

提交回复
热议问题