Skip to content
/ borre Public

๐ŸŽฒ Borre is a Farkle dice game maker made with Python ๐Ÿ at it's glory.

License

Notifications You must be signed in to change notification settings

blanklob/borre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Borre

Borre is a dead simple Farkle ๐ŸŽฒ dice game implementation and game maker made using Python at it's glory ๐Ÿ

PyPi version Tests

Game rules are simple, you usually have five dices with six sides, you roll the set of dices, and check if you score bonus or regular standard points.

Requirements

This package supports the following minimum versions:

  • Python >= 3.7

If you have Python installed, just skip to Usage, otherwise install Python.

Earlier versions may still work, but we encourage people building new applications to upgrade to the current stable.

Usage

First, you will need to install the borre package localy

pip install borre

To quickly start, with a simple Dice

import borre

dice = borre.Dice()

# Rolls the dice once
print(dice.roll())

Or create a multiple players

import borre

bob = borre.Player("Bob")
alice = borre.Player("Alice")

# Bob plays with 6 Dices
bob.play(borre.Dice(), 6)

# Alice plays with only 2 Dices
alice.play(borre.Dice(), 2)

If you have any difficulties, you might as well check the examples in examples folder.

Getting help

If you have a question about the library, or are having difficulty using it, chat with the community in GitHub Discussions..

Contributing

Everyone is welcome to make this package better feel free to submit your pull request/feature request.

About

๐ŸŽฒ Borre is a Farkle dice game maker made with Python ๐Ÿ at it's glory.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published