llama-journey icon indicating copy to clipboard operation
llama-journey copied to clipboard

How to run it on windows?

Open kexul opened this issue 2 years ago • 3 comments

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.

kexul avatar Dec 09 '23 14:12 kexul

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!

ejones avatar Dec 10 '23 03:12 ejones

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.😉

kexul avatar Dec 10 '23 04:12 kexul

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.

ejones avatar Dec 12 '23 15:12 ejones