Giter VIP home page Giter VIP logo

hearthstone-tools's Introduction

hearthstone-tools

Export your cards, build your decks and more!

Demo!

Image is kinda big, just want to show some progress here. Pager demo

Pre-installation

Please follow the instructions at https://github.com/octalmage/robotjs to install the dependencies for robotjs.

Installation

  • git clone https://github.com/cly/hearthstone-tools.git
  • cd hearthstone-tools
  • TBD

Setup

  • Run Hearthstone
  • Make sure graphics resolution is 1024x768 and quality is High.
    • This restriction will be relaxed in the future.
  • Ensure the Hearthstone app is locked to the top left pixel of the screen.
    • A tool like Spectacle on Mac OS X will make this easy.
    • This restriction will be relaxed in the future.

Support

  • Only tested on Mac OS X El Capitan 10.11.1 with a MacBook Pro 15in.
    • Please let me know if it works/does not work on other platforms!

Long-term vision

  1. Start a web server while you play Hearthstone.
  2. Render a web page with helpful tools as you play.

Architecture

  1. Web server talks to browser page on some websocket port.
  2. Server also talks to screen, mouse and keyboard through robotjs.
  3. As things are being automated, record actions and render in browser.

TODOs

  1. Setup a commandline REPL for instructions.
  2. Create an exporter bin that will export cards.
  3. Create a page flipper.
  4. Import existing card info.
  5. Create a script that imports card info bitmaps.
  6. Create a local storage of imported bitmap and card infos.
  7. Read screen pixels.
  8. Compare screen pixels with card info.
  9. Output as each event (card found, page flip) is accomplished.

hearthstone-tools's People

Contributors

cly avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

hearthstone-tools's Issues

deck builder feature

you input a deck, and the output tells you if you can build the deck or not
how many cards you need... how much dust u need

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.