Giter Site home page Giter Site logo

luckytiger66 / hearthstonesimulator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alarmclockcrusher/hearthstonesim_abandoned

0.0 1.0 0.0 87.1 MB

Simulation of Hearthstone game using python (Up to date Apr 1st 2020)

Python 45.35% Tcl 36.48% Shell 0.01% Batchfile 0.01% Starlark 0.01% C++ 4.34% C 6.32% Fortran 0.42% CSS 0.01% Makefile 0.01% MATLAB 0.12% TeX 1.05% Roff 0.59% DTrace 0.03% VBScript 0.03% PLSQL 0.64% HTML 4.50% JavaScript 0.05% XSLT 0.06%

hearthstonesimulator's Introduction

HearthstoneSimulator #炉石传说模拟(更新到2020年4月1日)

Simulation of Hearthstone game using python (Up to date Apr 1st 2020)

This project's goal is to use python codes to create a simulator of the Hearthstone game. The UI adopts tkinter and makes an UI where a single user controls the mulligan and playing of both sides. 本项目的目标是用python创建一个炉石传说游戏的模拟。UI采用tkinter并依靠一个玩家操纵游戏中双方的抽牌和行动。 The game currently emulates the standard card pool as of the beginning of the Year of Phoenix. The expansion packs include Basic, Classic, Rise of Shadows, Saviors of Uldum, Descent of Dragons, Galakrond's Awakening and Ashes of Outlands. 本游戏目前模拟的是凤凰年开始时的标准牌池。拓展包包括基础,经典,暗影崛起,奥丹姆奇兵,巨龙降临,迦拉克隆的觉醒以及外域的灰烬。 To run the game, either use python to run the GUI.py or simply open the GUI.exe. You will need to select the heroes for the game and enter and deck codes at the bottom right part of the UI. If you enter nothing for decks, defaults decks will be used(editable at the end of Hand.py). Then click Confirm to start the mulligan. 要运行游戏,或使用python来运行GUI.py,或直接打开GUI.exe。你需要在UI的右下方的选项卡中选择对战英雄,并在下方的两个文本框中输入双方的牌组代码。如果没有输入代码则会加载默认牌组(在Hand.py末尾中可以修改)然后点击Confirm开始换牌流程。 There are no animations of the play resolutions. The UI simply allows player to select characters for plays and shows the final results of each play resolution. The resolutions will be printed 'System Output' panel on the top right corner. 结算过程没有动画显示。UI只是允许玩家选择角色,并显示结算的最终结果。结果过程会输出到右上角的"System Output"方框中。 The general rule is left clicks can select subjects or target and right clicks on cards/characters will cancel your current selections. 总体规则为鼠标左键选择角色,右键单击取消当前选择。

hearthstonesimulator's People

Contributors

alarmclockcrusher avatar jasonguo0 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.