GithubHelp home page GithubHelp logo

bilibili-minesweeper's Introduction

Bilibili-Minesweeper

运行 fan.py 即可。

使用前需安装 pyautogui 模块。

pip install pyautogui

运行扫雷程序后,需要将扫雷窗口拖至屏幕的最左上角,并且确保窗口的宽度为1000像素,目前只支持高级游戏难度。

脚本利用爬取B站直播间弹幕,转化为鼠标的操作,来实现扫雷。

指令分为三个部分:
12 15 2
第一个数字代表从左往右的列号,取值范围(1-30)
第二个数字代表从上往下的行号,取值范围(1-16)
第三个数字代表鼠标的操作,左键(1),右键(2),中键(3)

如果游戏结束,发送 restart 开始新游戏。

bilibili-minesweeper's People

Contributors

infanx avatar

Stargazers

 avatar

Watchers

 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.