Can I write a game use ncurses ?
Hi, everyboy:Who have interest to make a console game ,
use ncurses ?
......
Can pygame running on console ?
(log in to comment)
Comments
Last weekend. my friend give me a old umpc: Sharp Telios HC-7000,
It cannot running linux, just can running netbsd.
When I start X, it has bug too.
so I want to write a game for it in console.
First, I will write it in ruby.
Maybe I shall change it to python use curses.
Speaking as someone who has created a Pyweek entry with Curses, I must recommend that you do not use the standard Curses library. That would prevent your game from being run on Windows.
What we did for RegEx Express was to use a Curses emulation library (that uses Pygame) written by Alya for the entry Isle of the Cursed Phoenix. Alya had some trouble with compatibility for the game, so wrote this fantastic emulation library -- I highly recommend it for people who want to do text-based games.
As is the nature of these open-source projects, please feel free to use anything and everything from RegEx Express in your entry.
As an amendment -- feel free to develop using Curses -- but it may also be worth your while to make sure that it runs with an emulation layer so that people on Windows can play it too.
First, Thank you for your information.
Another, I just test curses library.
I thank curses is good enough.
But need handle the event in good way. I will try it again.
richard on 2009/08/01 12:53:
Sure you can use ncurses (you wouldn't be the first). pygame can work without requiring a window (ie. for playing sound, I presume?) but you'd need the window to get events like mouse/keyboard.