You are not logged in.
Pages: 1
I wanted to make a mouse controlled game after I figured out how to.
So here is Bejeweled in python curses.
Download:
(you may have to F5 a few times if you get 404 after requesting the tar when you press download)
Github
Glitches:
Only one horizontal or vertical line of an L or T shape is used.
Holds highscores in ~/.bjw_hs
Offline
when I run python bejeweled I get errors:
Traceback (most recent call last):
File "bejeweled", line 335, in <module>
score=wrapper(main)
File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "bejeweled", line 97, in main
d.st=newwin(sy,sx,d.dy,d.dx)
_curses.error: curses function returned NUL
Offline
@ahcaliskan:
From the site:
Requirements: Python and a 90 wide, 51 high character display
Due to rounding it may be one or two more.
Check your terminal size with
stty size
Last edited by Procyon (2009-02-01 01:58:15)
Offline
stty size gives me:
24 80
Offline
stty size gives me:
24 80
Resize the terminal till it says 60 100.
Offline
it works now, thanks! Nice design btw! It's simple and easy to play.
Last edited by ahcaliskan (2009-02-01 03:54:29)
Offline
Pages: 1