Skip to content

rafgugi/guess-the-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Research in guess the number

Setup for visualization web app

  • Ensure you have Node.js, npm, bower, and gulp
  • Run npm install
  • Run bower install
  • Run npm start
  • Open index.html in browser

Judge has chosen a number x in the range [1, n]. Guesser has to find the number x using q queries range [a, b], then Judge has to answer if the number x is inside range [a, b].

Firstly, define the range from 1 to n, then press start button. You can always restart the game by pressing restart button. Then each turn, Guesser give a query range [a, b], Judge then answer the query whether the number is inside range [a, b] given by Guesser.

Judge is allowed to lie w times in single game. Program will memorize all queries and answers to ensure Judge doesn't lie more than w times

Documentation

  • Documentation is in src/tex/buku.tex, compile with XeLaTeX
  • Research notes is in src/md/*.md

About

A game for couple. First become a Judge, second become a Guesser.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published