Skip to main content

Streamlit component that allows you to render backgammon position

Project description

streamlit-backgammon

Streamlit component that allows you to render backgammon position

Installation instructions

pip install streamlit-backgammon

Usage instructions

import streamlit as st
from backgammon import streamlit_backgammon

entry = {
    'position': [0, -2, 0, 0, 0, 0, 5, 0, 3, 0, 0, 0, -5, 5, 0, 0, 0, -3, 0, -5, 0, 0, 0, 0, 2, 0],
    'cube': 1
}
streamlit_backgammon(entry=entry)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-backgammon-0.0.2.tar.gz (409.3 kB view hashes)

Uploaded Source

Built Distribution

streamlit_backgammon-0.0.2-py3-none-any.whl (1.5 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page