Skip to content

This repository contains a Python script for automating actions in the Pixels game.

Notifications You must be signed in to change notification settings

4ymaneee/pixels-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Pixels Game Automation Bot

Description

This repository contains a Python script for automating actions in the Pixels game. The bot utilizes computer vision techniques for image detection and automation using OpenCV, PyAutoGUI, and threading. It continuously scans the screen for specific images related to collecting and crafting in the game and performs corresponding actions automatically.

Script Image

Features

  • Automated Collecting: 🛠️ The bot detects and collects resources in the game.
  • Crafting Automation: 🏭 It also automates crafting by detecting crafting options and performing necessary actions.
  • User Interface: 🖥️ Includes a simple GUI built with Tkinter for easy interaction and control.

Prerequisites

  • Python 3.x
  • OpenCV (cv2)
  • NumPy (numpy)
  • PyAutoGUI (pyautogui)
  • Tkinter (tkinter)

Installation

  1. Clone the repository:
    git clone https://github.com/aymane67/Pixels-Game-Bot.git
    

Usage

  1. Run the bot:
    python pixels_game_bot.py
    
  2. Click the "Start" button to begin automation.
  3. To pause automation, click the "Stop" button. Click "Start" again to resume.
  4. Close the application window to exit.

Customization

  • Images: Replace the image files for collecting and crafting with the relevant images from your game.
  • Threshold: Adjust the threshold value (0.8 by default) in the code for template matching to improve detection accuracy.

Contribution

Contributions are welcome! Feel free to open issues or pull requests for any improvements or fixes.

About

This repository contains a Python script for automating actions in the Pixels game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages