--- title: Chessboard & Rice Challenge emoji: 📚 colorFrom: yellow colorTo: purple sdk: gradio sdk_version: 5.49.1 app_file: app.py pinned: false --- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference # ♟️ Chess & Rice — Gradio App [![Gradio](https://img.shields.io/badge/Gradio-%E2%9C%85-1f8feb)](#) [![Python](https://img.shields.io/badge/python-3.8%2B-blue)](#) [![License: MIT](https://img.shields.io/badge/License-MIT-green)](#) An interactive visualization of the **classic “chessboard and rice grains” exponential growth problem**, built with **Gradio** and **Plotly**, and ready for deployment on **Hugging Face Spaces** 🚀 --- ## 🎯 What It Does - Visualizes how rice grains double on each chess square (1 → 64). - Interactive **chessboard heatmap** of grains (log scale). - **Exponential growth** and **cumulative total** line charts. - Real-world **comparisons** (vs. world population, sand grains, etc.). - Dynamic **stats panel** that updates as you move the slider. --- ## 📂 Project Structure