Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bot revamp using the old pixel detection method #416

Merged
merged 3 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-build-msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
run: |
pipx install "poetry>=1.7.0"
pipx install poethepoet
- name: Set up Python 3.11
- name: Set up Python
id: pysetup
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
cache: "poetry"
- name: Install package and dependencies
run: |
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest]
python: ["3.11"]
python: ["3.12"]
experimental: [false]
# include:
# - os: windows-latest
# python: "3.12-dev"
# experimental: true
continue-on-error: ${{ matrix.experimental }}
runs-on: ${{ matrix.os }}
steps:
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ cert
node_modules
build
dist
src/pyclashbot/bot/card_detection_switchlane.py
src/pyclashbot/bot/do_fight_state_backup.txt
src/pyclashbot/bot/do_fight_state_trytofix.txt
src/pyclashbot/bot/DONOTUSE_open_chests_state_with_gem copy.py
src/pyclashbot/bot/DONOTUSE_open_chests_state_with_gem.py
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Welcome to the py-clash-bot project! We appreciate your interest in contributing

To set up a development environment for py-clash-bot, you will need to have the following tools installed:

- [Python 3.11](https://www.python.org/)
- [Python 3.12](https://www.python.org/)
- [Poetry](https://python-poetry.org/)

Once you have these tools installed, follow these steps to set up the project:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ _Join the [Discord server](https://discord.gg/mx4W9qRNgF)!_
<img src="https://github.com/pyclashbot/py-clash-bot/blob/master/assets/demo-game.gif?raw=true" width="50%" alt="Game Demo"/><img src="https://github.com/pyclashbot/py-clash-bot/blob/master/assets/demo-gui.gif?raw=true" width="50%" alt="GUI Demo"/>

## Artificial Intelligence Computer Vision
![clashbot_fightvision_playmaker_demo_gif](https://github.com/pyclashbot/py-clash-bot/assets/105177840/a6fa7046-1317-4b1a-8ab5-36ed43bb1410)
![Troop_detector_demo_croppedgif](https://github.com/pyclashbot/py-clash-bot/assets/105177840/c21b6c20-d95b-4798-ab82-7e438f489276)


## Contribute

Expand Down
Binary file removed assets/demo-game.gif
Binary file not shown.
Binary file removed assets/demo-game.webp
Binary file not shown.
Binary file removed assets/demo-gui.gif
Binary file not shown.
Binary file removed assets/demo-gui.webp
Binary file not shown.
3 changes: 2 additions & 1 deletion src/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ __pb__
__version__
__pycache__
build
start.bat
start.bat
pyproject copy.toml
618 changes: 275 additions & 343 deletions src/poetry.lock

Large diffs are not rendered by default.

Loading
Loading