Skip to content

fahmiwazu/1to50

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1to50 Puzzle Automation Project

Project Overview

The 1to50 Puzzle Automation Project is designed to automate the process of solving the 1to50 puzzle game using Selenium with Python. This project demonstrates how to use web automation techniques to interact with and solve a web-based puzzle game by replicating human actions in an efficient and accurate manner.

Installation Guide

Prerequisites

  • Python 3.x: Ensure that Python 3.x is installed on your system.
  • Chrome Browser: The Chrome browser is required for running the automation script.
  • ChromeDriver: The WebDriver that interacts with Chrome.

Setup Instructions

  1. Install Python: Download and install Python from python.org.

  2. Set Up a Virtual Environment (Optional but recommended):

    python -m venv venv

    Activate the virtual environment:

    • On Windows:
    venv\Scripts\activate
    • On macOS/Linux:
    source venv/bin/activate
    
  3. Install Dependencies:

    Create a requirements.txt file with the following content:

    selenium
    

    Install dependencies:

    pip install -r requirements.txt
  4. Download and Configure ChromeDriver:

    • Download ChromeDriver from chromedriver.chromium.org.
    • Ensure that the version of ChromeDriver matches your Chrome browser version.
    • Place chromedriver in a directory included in your system's PATH or specify the path in the main.py file.

Usage Instructions

Running the Automation Script

  1. Open a Terminal or Command Prompt.
  2. Navigate to the Project Directory:
    cd path/to/project
  3. Run the Script:
    python main.py
    The script will open Chrome, interact with the 1to50 puzzle game, and attempt to solve it.

Example Output

  • The browser will automatically open, and you will see the puzzle being solved in real-time.
  • The final result will be displayed in the terminal or saved to a log file, depending on the script configuration.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages