News for hackers. Stuff that matters.

adad

Re:ColorRun – Simple browser game about colors on Saturday August 16, 2014 @06:26PM (#8187787)

  function action(){
    if($('#color-1').css('opacity') > $('#color-2').css('opacity')){
      $('#color-1').trigger('click');
    }else{
      $('#color-2').trigger('click');
    } 
  };

  setInterval('action()',0);