Skip to content

JasonTurley/guess_solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Guess Solver

A "Guess the Number" solver implemented in Python3 with the pwntools framework.

Installation

I've only tested this script on an Ubuntu 20.04 but theoretically, it should work on any platform that has a Python3 interpreter and supports pwntools.

Learn how to setup pwntools here:

Install with git

git clone https://github.com/JasonTurley/guess_solver
cd guess_solver/
python3 solver.py

Install with PowerShell

Invoke-WebRequest -Uri `
	https://raw.githubusercontent.com/JasonTurley/guess_solver/master/guessing_game.py `
	-OutFile .\guessing_game.py

Invoke-WebRequest -Uri ` 
	https://raw.githubusercontent.com/JasonTurley/guess_solver/master/solver.py `
	-OutFile .\solver.py

python3 solver.py

Demo

The solver uses a binary search algorithm to guess the correct number.

demo gif

demo pic

About

A "Guess the Number" solver implemented in Python3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages