Prime retro-gaming: trek!
|
08-28-2024, 07:57 PM
(This post was last modified: 08-28-2024 07:57 PM by komame.)
Post: #2
|
|||
|
|||
RE: Prime retro-gaming: trek!
(08-27-2024 12:16 AM)ab3ap Wrote: I converted the 1973 trek to python to put it on the Prime: :-DA very good port of the game! (08-27-2024 12:16 AM)ab3ap Wrote: Not exactly what a calculator is intended for, I suppose, but fun.Well, the HP Prime is a real computer, and computers can be used for many different things. (08-27-2024 12:16 AM)ab3ap Wrote: And a question, too, is there a way to use fixed width font on the Prime? The old game assumes it, and I had to hack at it a bit to somewhat line up things with variable width font. Printing a tab (\t) character results in a rectangle and not an actual tab, which would be an easy solution to lining up text. There is no support for monospaced fonts (for now), but you can easily create such a terminal yourself, including support for \t and custom font types. To do this, you need to use graphic commands from the hpprime module. By the way, it would be useful to have some advanced graphics library for Python that allows efficient access to the graphic frame buffer. As for the monospaced font terminal, I'll try to write it, and it shouldn't be too difficult (read: I'll share it soon). All the best! Piotr Kowalewski |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 9 Guest(s)