Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

42 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ  DrawffyFish

Python Stockfish MIT License Active

๐Ÿ“– Table of Contents

  1. Introduction
  2. Project Vision
  3. Architecture & Workflow
  4. Core Features
  5. Prerequisites & System Requirements
  6. Installation Blueprint
  7. Environment Configuration
  8. Comprehensive Directory Mapping
  9. Detailed Module Breakdown
  10. Advanced Usage Framework
  11. API & Programmatic Reference
  12. Troubleshooting & Diagnostics
  13. Performance Fine-Tuning
  14. Contributing Lifecycle
  15. License Agreements

๐Ÿš€ Introduction

DrawffyFish is an enterprise-grade interactive engine engineered to synthesize computational strategy matrices with dynamic visual canvases. By embedding advanced algorithmic engines natively beneath flexible coordinate render pipelines, it empowers real-time tracking, tactical evaluations, and graphical data representations under one cohesive deployment workspace.


๐ŸŽฏ Project Vision

  • Precision Visualization: Mapping complex abstract vectors into clean human-readable design surfaces.
  • Low Latency Abstraction: Running deep computation nodes on distinct background worker threads.
  • Developer Extensibility: Modular layout structures ensuring fast customization plugins.

โœจ Core Features

๐ŸŽจ Graphic Render Subsystem

  • Real-time custom element mapping overlay.
  • Dynamic responsive grid structural resizing mechanics.

๐Ÿ  Computational Matrix Core

  • Native hooks managing specialized chess engine logic.
  • Multi-threaded asynchronous evaluations processing.

โš™๏ธ Automation Integrations

  • Direct environment properties setup parameters.
  • Local logging utilities supporting structural debug analytics.

๐Ÿ“‹ Prerequisites & System Requirements

Before initializing the workspace, confirm the local environment matches these baseline specifications:

Requirement Component Supported Ranges Target Verified Version
Python Runtime v3.10.x to v3.12.x v3.11.4
Stockfish Binary v15 or newer v16.1
Memory Allocation Minimum 4GB Dedicated 8GB+
Operating Systems Linux / Windows 11 / macOS Debian 12 Stable

๐Ÿ› ๏ธ Installation Blueprint

1. Repository Isolation

git clone https://github.com/GoogleHub67/DrawffyFish
cd DrawffyFish

2. Environment Encapsulation

python -m venv venv

# On Unix-based infrastructure platforms:
source venv/bin/activate

# On Windows PowerShell environments:
.\venv\Scripts\Activate.ps1

3. Dependencies Materialization

pip install --upgrade pip
pip install -r requirements.txt

โš™๏ธ Environment Configuration

Create a localized variables tracking matrix matching the parameter blueprint:

touch .env
# DrawffyFish Engine Run Parameter Blocks
ENGINE_NAME="DrawffyFish Core"
EXECUTION_MODE="development"
BIND_ADDRESS="127.0.0.1"
BIND_PORT=8080

# Advanced Evaluation Specific Paths
STOCKFISH_PATH="/usr/local/bin/stockfish"
EVAL_DEPTH=18
THREAD_POOL_LIMIT=4
HASH_MEMORY_ALLOCATION=512

# Layout Custom Rendering Options
CANVAS_WIDTH=1024
CANVAS_HEIGHT=768
TARGET_FRAME_RATE=60
COLOR_THEME="dark-matrix"

๐Ÿ“‚ Comprehensive Directory Mapping

โ”‚   .env.example
โ”‚   .gitignore
โ”‚   CITATION.cff
โ”‚   code.py
โ”‚   CODE_OF_CONDUCT.md
โ”‚   config.yml.default
โ”‚   CONTRIBUTING.md
โ”‚   launch_unix.sh
โ”‚   launch_win.bat
โ”‚   LICENSE
โ”‚   README.md
โ”‚   requirements.txt
โ”‚   run_bot.py
โ”‚   SECURITY.md
โ”‚   setup_unix.sh
โ”‚   win_setup.ps1
โ”‚
โ”œโ”€โ”€โ”€assets
โ”‚   โ”œโ”€โ”€โ”€books
โ”‚   โ”‚       gm2001.bin
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€โ”€engines
โ”‚   โ”‚   โ””โ”€โ”€โ”€Fairy-Stockfish
โ”‚   โ”‚           fairy-stockfish-largeboard_x86-64.exe
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€โ”€history
โ”‚   โ”‚       drawffy_hist.db
โ”‚   โ”‚       drawffy_history.db
โ”‚   โ”‚
โ”‚   โ””โ”€โ”€โ”€logs
โ”‚           bot.log
โ”‚
โ””โ”€โ”€โ”€src
        chat.py
        drawffy_brain.py
        main.py

๐Ÿงฉ Detailed Module Breakdown

src/core/engine.py

Responsible for low-level process fork operations managing the external engine calculations pipeline. It isolates computation tasks outside the main threat application tree.

src/interface/canvas.py

Handles frame rendering cycles, user mouse and touch event registration arrays, translating absolute pixel offsets back to internal strategic board data coordinates.


๐ŸŽฎ Advanced Usage Framework

Native Execution Modes

# Execute utilizing standard environment variables configurations:
python main.py

# Launch directly into CLI analytics tracking mode bypassing visual drawing windows:
python main.py --headless --depth 20 --verbose

# Run checking internal structural diagnostics parameters:
python main.py --diagnose

Scripted Processing Chains

# Run structural verification scripts prior to building runtime assets
python -m pytest tests/

โšก API & Programmatic Reference

Integrating DrawffyFish into standard Python architectures follows precise operational hooks:

from src.core.engine import EvaluationEngine
from src.config import EngineConfig

# 1. Initialize properties mapping data structure
config = EngineConfig(depth=20, threads=4)

# 2. Boot continuous computation node
engine = EvaluationEngine(config=config)
engine.boot_subprocesses()

# 3. Transmit state tracking parameters
matrix_state = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
analysis_results = engine.analyze_coordinate_matrix(matrix_state)

# 4. Extract programmatic payloads cleanly
print(f"Calculated Metrics: {analysis_results.score}")
print(f"Optimal Iteration Paths: {analysis_results.suggested_moves}")

๐Ÿ” Troubleshooting & Diagnostics

[FATAL] Engine subprocess failed to spin up.
โ”œโ”€โ”€ Reason: Invalid binary path inside environment declarations file.
โ””โ”€โ”€ Resolution: Verify STOCKFISH_PATH absolute location inside .env block.

[WARN] Canvas rendering frames dropped below threshold.
โ”œโ”€โ”€ Reason: Background computation threads saturating primary thread loop.
โ””โ”€โ”€ Resolution: Lower THREAD_POOL_LIMIT scale parameter inside config matrix.

๐Ÿš€ Performance Fine-Tuning

# Production Grade Configurations for Maximum Throughput Optimization
[PERFORMANCE]
AggressiveCaching=true
MemoryRetentionLimit=1024
FrameSkipThreshold=2
AsyncEventDispatching=true

๐Ÿค Contributing Lifecycle

Fork the Project โž” Create Feature Branch โž” Commit Mutations โž” Push Branch โž” Issue Pull Request

Development Standard Commit Matrix

  • feat: ... for additions or extensions.
  • fix: ... for structural correction patches.
  • docs: ... for text alterations or updates.

๐Ÿ“„ License Agreements

Distributed unconditionally under the open MIT License. For complete code freedom constraints rulesets parameters, inspect the explicit LICENSE workspace repository document.


๐Ÿ“ฌ Contact & Channels

  • Project Administrator: Aarav Patel (GoogleHub67)
  • Primary Source Code Directory: DrawffyFish Core Environment
  • Support Inquiries: Open a structured issue inside the primary workspace repository tracker.

๐Ÿ—บ๏ธ Future Roadmap

  • v1.1.0: Real-time web-based visualization interface deployment.
  • v1.2.0: Deep neural network evaluation weights support (NNUE).
  • v1.3.0: Cloud-hosted parallel processing matrix endpoints.

๐ŸŒŸ Acknowledgements

  • Stockfish Team: For providing the world-class open-source chess evaluation engine.
  • Python Chess Community: For the robust ecosystem powering modular strategic parsing matrices.
  • gm2001.bin: For the opening books.

About

Drawffyfish is a specialized, production-ready Lichess bot built with Python and `python-chess` that plays strictly for **tight, calculated draws**. Instead of hunting for complex wins, it leverages advanced MultiPV analysis and CPL boundary safeguards to systematically steer standard matches and Chess960 games toward dead-drawn outcomes.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages