Skip to content

rlefmann/Shithead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shithead

The card game Shithead implemented in Python and PyGame.

IMAGE

Requirements

sudo apt install git python-pip

Installation

git clone https://github.com/rlefmann/Shithead.git Shithead
cd Shithead
pip install --user .

Usage

To get started, simply execute the shithead program by typing:

$ python -m shithead
  • Use the left and right arrow keys to move the cursor.
  • Use the tab key to switch through the different card collections.
  • Press the space bar to select a card and space again to unselect it. You can also select multiple cards, but only if they are from the same collection (switching between collections is disabled when a card is selected).
  • Press return to play the selected cards. If you have selected the discard pile and pressed return you will take all the cards from it.

Special Cards

The default special cards are:

  • 2 to burn all cards from the discard pile
  • 3 to make yourself invisible and skip your turn
  • 7 to make the opponent skip his turn
  • 9 to make the opponent play a card with rank 9 or lower

The 2 and 3 can be played on any card, while the 7 and 9 can only be played if their rank allows it.

About

The card game Shithead implemented in Python and PyGame.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages