Giter Club home page Giter Club logo

nursery-bot's Introduction

开局托儿所 bot

准备

  1. 安装 Python3.8+
  2. 安装 Tesseract , 安装后需要手动设定 PATH , 前往控制面板 - 系统 - 高级系统设置 - 环境变量 - 新建并添加你的安装目录
  3. 安装依赖 pip install -r requirements.txt

使用

PC 微信打开游戏到游戏界面后, 确保界面无遮挡后, 运行

python entry.py

关于配置

配置文件在 nursery/modules/config.py 中, 配置都为 1920 分辨率下的

# 截图游戏界面的大小
ORIGIN_WIDTH = 441

# 截图游戏界面左边界到游戏区域偏移
OFFSET_X = 12
# 截图游戏界面上边界到游戏区域偏移
OFFSET_TOP = 126
# 截图游戏界面下边界到游戏区域偏移
OFFSET_BOTTOM = 33

# 游戏的数字格子大小
GRID_SIZE = 32
# 游戏的数字格子间距
GRID_GAP = 10

未完善

  • 测试高分屏

nursery-bot's People

Contributors

sakurahentai avatar surkaa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.