Skip to content

dandrust/salem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tasks:

  • 1. Implement TODO in game_setup_script.py
  • 2. Implement TODO in game.py
  • 3. Implement TODO in town_hall_card.py
  • 4. Implement TODO in player.py
  • 5. Implement TODO in simulation1.py
  • 6. Implement TODO in red_card.py
  • 7. Implement TODO in tryal_card.py
  • 8. Modify Game to hold player information, create and assign town hall cards, create and shuffle tryal cards and deal them to players. Extend player class to tell secrets and print players' secrets in your simulation script. Specs should feed players to game instance and test # of witches, constable
  • 8. List practice, type checking. Refer to built-in function docs only
    • all to to check if a player is currently a witch
    • any to check if a player is currently a witch, constable
    • is_a_witch instance method on player
    • filter to find witches
    • map to list town hall card names
    • sum to calculate combined age of characters
    • Stretch goal: calculate the sum of all ASCII character codes of the characters in play
  • 10. Use subclassing to implmement blue, green, and black cards (incorporate reds, too!)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages