node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป


JavaScript/NodeJS Guess v1.0.2

What is this?

It's an numbers guessing algorithm within a range, compatible with JavaScript and NodeJS (

Demo online


<!doctype html><html>


		<script src=""></script>


			guess(0, 255, function(num, query) {

				query(confirm('x > ' + num));

			}, function(num) {

				document.write('Number is ' + num);