GithubHelp home page GithubHelp logo

jonathan-greve / astrilvpn_2048_solver Goto Github PK

View Code? Open in Web Editor NEW
33.0 3.0 5.0 51 KB

Python code for automatically solving the AstrillVPN 2048 minigame.

Python 100.00%
2048-ai 2048-solver astrill-vpn coupon python selenium

astrilvpn_2048_solver's Introduction

AstrilVPN_2048_solver

Description

This repository houses a Python script (main.py) designed to solve the 2048 puzzle game hosted on the AstrilVPN website.

The script utilizes a variety of powerful libraries, such as BeautifulSoup for HTML parsing, Selenium for browser automation, and NumPy for efficient array handling, to interact with and solve the puzzle game. It uses strategic AI decision making to automate the process, and efficiently solve the 2048 game.

AstrilVPN 2048 coupon code solver showcase - Youtube

And how it looks in the terminal: Terminal output

Pre-requisites

The script requires Python 3.6 or above installed on your system. The following Python libraries are also required:

  • numpy
  • beautifulsoup4
  • selenium
  • webdriver_manager
  • time
  • random
  • copy

Installation

Follow the instructions below to install the required Python libraries on your operating system:

Windows

Open Command Prompt and type:

pip install numpy beautifulsoup4 selenium webdriver_manager

Linux

Open Terminal and type:

pip3 install numpy beautifulsoup4 selenium webdriver_manager

macOS

Open Terminal and type:

pip3 install numpy beautifulsoup4 selenium webdriver_manager

How to Run

Once all prerequisites are installed, you can clone the repository using the following command:

git clone https://github.com/Jonathan-Greve/AstrilVPN_2048_solver.git

Navigate to the directory where the repository is cloned:

cd AstrilVPN_2048_solver

To run the script, use the following command:

python main.py

On Linux and macOS, you might need to use python3 instead of python.

python3 main.py

Sit back and watch as the script solves the 2048 puzzle on the AstrilVPN website!

Note: If you're running this script on a server or in an environment without a display, you'll need to set up a virtual display like Xvfb because Selenium requires a display to connect to.

Enjoy your automated 2048 game solving!


Disclaimer: This repository/script is for educational purposes only. It is not affiliated with, endorsed by, or in any way officially connected with AstrilVPN or the 2048 game. Please use responsibly.

astrilvpn_2048_solver's People

Contributors

jonathan-greve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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