Here it is: https://gist.github.com/nns2009/5fa80687ca6c3cab0c1ccc28d3e898ad
The web version which you can play here took much longer because of the UI and some extra functionality (game history, difficulty selection), but the core gameplay is exactly the same as I in the version above coded in 37 seconds.
https://nns2009.itch.io/guess-with-lies
I'll soon make a video about how I made it (it's filmed, but not yet cutted). For now just subscribe to my channel, not to miss it:)
Update: here it is