pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Pyhole

Pyhole - 1.0

Joshua Powell (powellj6)

Tags:

Description

This is a simple 'point and click card' game; no draggin' and droppin'.

The game of "Asshole" is pretty simple. The entire deck is split up between the number of people playing and the person with the 3 of clubs starts off. (There is also a version where you can have doubles, triples, and even quadruples but this proved quite impossible as you'll see and I left it as just singles) For the card in the middle, the only card you can put down is a card of the same number or a card of the same suit that is higher. If your card goes all the way around back to you and no one else has put a card down, the deck clears and you can put down whatever you want. Also, the two's clear the deck and you can then put down whatever you want...use them wisely.

The last one to get rid of all of their cards is the asshole. I used to play this with my friends at lunch to see who would take out all of the trash.

All credit for the card images goes to their authors Jesse Fuchs and Tom Hart of the The SVG Deck at http://freeware.esoterica.free.fr/html/freecards.html.

A few notes:

If you want to use a 'two', click on the "PYHOLE" text at the top of the screen. If you want to skip to the next player, and believe me, you're going to have to to finish the game, click in the middle of the screen where the middlecard blits.

It is best to select your card by the left side as this will highlight it everytime, but not if you can't use that card.

Also, if for some reason the 'player' uses all of his or her cards and isn't in the the 'winners' list in the background python screen, click on the "YOU" text below your cards and this will automatically put you in there.

For those who look, this code is attrocious. I am well aware of its ridiculousness; but if you still feel like telling me, go ahead. I just ask that if you know anything that could help it, or me, in any way, please tell me. I'm still learning and would gladly except any criticism no matter how insultingly true it may be.

It is written in python 3.1. You will have to download a .zip file. I use a windows but I don't think there should be any problems using something else.

Links

Home Page: http://www.mediafire.com/?ih8wbdxetk3sedq

Screenshot


click to view original size

Releases

Pyhole - 1.0 - Sep 3, 2011

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

September 18, 2011 9:35pm - Zachariah Callaway - nickname: (xzcallaway)
A .deb package of Pyhole is available for download at http://www.dotdeb.com/cards-2.php
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Aug 19, 2014

Aug 18, 2014

Aug 2, 2014


Jul 28, 2014

Jul 22, 2014

Jul 21, 2014

Jul 20, 2014

Jul 19, 2014

Jul 15, 2014

Jul 9, 2014

Jun 27, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)