var slideIndex = 1; showSlides(slideIndex); // Next/previous controls function plusSlides(n) { showSlides(slideIndex += n); } // Thumbnail image controls function currentSlide(n) { showSlides(slideIndex = n); } function showSlides(n) { var i; var slides = document.getElementsByClassName("mySlides"); var dots = document.getElementsByClassName("dot"); if (n > slides.length) {slideIndex = 1} if (n < 1) {slideIndex = slides.length} for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" active", ""); } slides[slideIndex-1].style.display = "block"; dots[slideIndex-1].className += " active"; }

Wednesday, October 10, 2012

Robinson vs. birds


Robinson vs. birds
Help Robinson to send the annoying birds off. You can hit them with a coconut if you are skilled enough. Use your mouse left click to controll the game. First click: Friday throws the coconut. Second click: Robinson hits it. The direction of the coconut movement is determined by the distance from Robinson when it gets the hit.

No comments:

Post a Comment

آخر التعليقات

أتصل بنا

Name

Email *

Message *