{"repo":"msoap/tcg","free":true,"listed":false,"github":"https://github.com/msoap/tcg","clone":"git clone https://github.com/msoap/tcg.git","description":"Terminal cell graphics library","language":"Go","stars":121,"topics":["golang","golang-library","terminal","game","1bit","graphics","pixel-art","terminal-graphics","ascii-art"],"license":"MIT","category":"game-templates","readme_excerpt":"TCG - terminal cell graphics Go Graphics library for use in a text terminal. Only 1bit graphics can be used with two colors. Used unicode block symbols for drawing. 2x3 mode is supported by the Iosevka font or some terminals (like default on Ubuntu). Features Available 5 graphics modes, from 2x3 pixels grid for terminal symbol to 1x1, 1x2 and 2x2, or you can create own custom mode with your graphics Set/get one pixel Drawings: lines (vertical, horizontal, or with any angle), boxes, circles, arcs Fill area with a different options, for example fill with patterns Buffer manipulating: cut, clone, convert to/from stdlib Image or text Buffer transform: BitBlt with options, clear, flip, invert, scroll (vertical, horizontal) Sub-package for turtle graphics, also available drawing by text script Sprite support with Put, Withdraw, Move, etc methods Install go get github.com/msoap/tcg Usage See more examples in examples folder. Screenshot Game of Life example in iTerm2 terminal: See more screenshots. TODO [ ] fonts support [x] sprites [ ] animation in sprite See also Go terminal library - github.com/gdamore/tcell Turtle graphics Try it in the Go Playground Unicode symbols: Block Elements - wikipedia Block Elements - unicode.org Symbols for Legacy Computing - wikipedia Symbols for Legacy Computing - unicode.org Supported fonts (for \"2x3\" mode): Iosevka font","default_branch":null,"files":null,"tree":[],"storefront":"/r/msoap","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/msoap/tcg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}