Git Product home page Git Product logo

born-doctor's Introduction

开局博士

bilibili 上的代码运行视频

monorepo 中的 core 是核心算法,把游戏地图作为二维数组输入进去会一次性找出所有可能的起点和终点。
具体的自动化逻辑请自行实现,我用 js 简单写了一个自动化流程。
但是因为 OCR 识别准确率还有鼠标操作不准确的原因,有时候会有 bug 导致无法正常消除或完全消除。
如果你发现了 bug,那一定是自动化的 bug,虽然没有写单元测试,但是 core 中的算法是没有问题的。

经过测试以后发现,目前版本并不是每一句都可能超过 100 分。也就是说可能在 90 分的时候出现残局。
鉴于关卡目前是在游戏中随机生成的,所以残局是必然的。

我就先写到这里了,如果你还是想更深入的开发,你应该只借鉴 core package 中的查找算法,并使用更好的自动化框架来实现自动化的游戏。

born-doctor's People

Contributors

group900-3 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.