views:

131

answers:

2

This is more of a thought i had awhile rather than an actual problem to solve, maybe more a discussion, but i was wondering if it would be possible to design the game of solitaire and be abkle to play it in the python GUI or some other form of iterface? I know you can get a deck of cards fairly easily and i know yuo can play simple games like snap and so on but i thought solitaire would be more challenging and fun because there is alot more logic behind it than just laying out the cards randomly. Any ideas?

(I would be intrested to hear about or see any solutions if anyone had any links etc..)

EDIT: how would i go abuot starting this type of game any ideas?

+3  A: 

Check PySoltaire. It is done.

zoli2k
LOL is there Xyz such that pyXyz doesn't exist? ;-)
mjv
@mjv: There is [PyPy](http://codespeak.net/pypy/dist/pypy/doc/), but there isn't any PyPyPy. I'm also certain that there isn't a PyPerl; no, wait… :)
ΤΖΩΤΖΙΟΥ
A: 

A game like that can be very useful for learning.

You could try to develop your own solitaire version, maybe one not included in PySolitaire. Maybe you could try PyGame (http://www.pygame.org). Pygame provides you of a nice framework for that.

You can also check other already developed pygame card games like LynSol Solitaire to get an idea of what you could accomplish.

joaquin
yeh i would do something like thta but im just no where near experienced enough and am too new to the language to try something as ambitious as that now
Kevin