Skip to content

Jonathan-Greve/AstrilVPN_2048_solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Python code for automatically solving the AstrillVPN 2048 minigame.

Topics

Resources

Stars

Watchers

Forks

Languages