Skip to content

Python library to model the Briscas card game.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

bcollazo/briscas

Folders and files

NameName
Last commit message
Last commit date
Jun 10, 2019
Jun 10, 2019
Jun 10, 2019
Jun 10, 2019
Mar 12, 2018
Mar 13, 2018
Apr 23, 2018
Jun 10, 2019
Mar 31, 2020
Mar 17, 2018
Jun 10, 2019
Mar 14, 2018

Repository files navigation

briscas

Latest Version https://travis-ci.org/bcollazo/briscas.svg?branch=master

Python library to model the briscas card game.

It provides:

  • Simple models with the validation and business logic needed.
  • A script to play the game from the terminal
  • A 'Player' interface with the following implementations:
    • Random Player
      • Chooses a random card from their hand every time.
    • Local Player
      • Chooses the 'weakest' card that will win hand locally.
    • Smart Player
      • Like Local Player but uses information from the pile to
        add a probabilistic distribution of outcomes.
    • KNN Player
      • Machine Learning player that uses thousands of games as model.
    • (Work In Progress) ML Players
      • Features: Life, Hand, Cards in Graveyard, Turn (+ card in play?)