llama-journey
llama-journey copied to clipboard
How to run it on windows?
Hi, thanks for the cool project! Is it possible to run the game on windows? I've run the command but there is only a black screen.
Thanks for checking it out! Yeah, I developed this with curses so I don't believe it will work out of the box on Windows. According to this blog you might try pip install windows-curses (or similar) and in theory the curses code will just work. No promises though. If it works out let me know!
No luck sir! Actually I did install windows-curses in my end, and saw a black screen with no output. I'm thinking about rewrite the game with pygame if possible.😉
Ah I see. What it might be is that I kind of hacked around curses and just used ANSI escapes and carriage returns to draw the screen. In particular, the draw function. An intermediate solution might be to update that code to use the curses APIs.