fibo / i-am-not-a-robot

cause I can play games
http://g14n.info/i-am-not-a-robot
MIT License
3 stars 1 forks source link

Can we have a mouse detection system. is there mous our touch creating movments. #hacktoberfest #6

Open syonfox opened 2 years ago

syonfox commented 2 years ago
window.addEventListener('mouse-move', ()=>{

})

type something. move the mouse. if they do that enough on the page call them not a robot and don't ask.

if not enough info is gathered. fall back to a game

looking for seasoned vets with a snip-it to share lol could do it myself but ehh :)

fibo commented 2 years ago

nice idea, I would use pointermove or touchmove event.

Feel free to PR.

I recently forked this nice mouse effect https://github.com/fibo/webassembly-wave

Demo here

@syonfox sorry for the outdated syntax in this repo