Citadeles Pagaļmetis

Ir šāda spēle: http://www.citadele.lv/pagalmetis
Viss jau būtu jauki, nebūtu tam vispār pievērsies, taču radi uzdeva jautājumu: KĀ var izdarīt tā, ka rezultāts ir 31.38?!?! Mēģini, mēģini … un saproti, ka vairāk par ~10, parasti klikšķinot, cilvēkam nav iespējams.

Tāpēc maza pamācība kā apsteigt tos 31.38.

 

Protams, nekas īpašs un pārgudrs tas nav. Interesantāk būtu to izpildīt ar kādu urķa vērtu gājienu, taču uzdevums ir panākts ar pavisam triviālu kodu.

Interesantākais bija tas, ka maksimālo rezultātu sasniedza Internet Explorer 11.0.9600.17126 uz Windows 8.1 64.bit OS + Intel Core 2 Duo E8400 3.00 Ghz.
Jaunākā (ne Dev versijas Chrome) sasniedza “tikai” ~30 punktus.

  1. Atveram Internet Explorer pārlūku.
  2. Atveram spēles saiti
  3. nospiežam F12 (tiks atvērti izstrādātāja rīki)
  4. atveram konsoli  (nolikšķinot ar peli vai nospiežot CTRL + 2)konsole
  5. Pavelkam nedaudz lielāku konsoles ievades logu (lai būtu iespējams iekopēt pilno izpildes kodu)
    konsoles-logs
  6. Spēlē nospiežam “Spēlēt” (laiks netiks sākts skaitīt)
  7. un tad konosles logā iekopējam izpildes kodu:
    [cc lang=”javascript”]
    var i = 1;
    function myLoop () {
    setTimeout(function () {
    $(‘#btn_space’).click();
    i++;
    if (i < 350) {
    myLoop();
    }
    }, 29)
    }

    myLoop();
    [/cc]

  8. Un tad, izpildām kodu, nospiežot zaļo PLAY podziņu (vai CTRL + ENTER)
    play
  9. Mans lielākais rezultāts:
    pagalmetis

 

 

Arnis

 

59 thoughts on “Citadeles Pagaļmetis

  1. Hey I am so grateful I found your weblog, I
    really found you by error, while I was looking on Aol
    for something else, Anyways I am here now
    and would just like to say thanks for a incredible post and a
    all round interesting blog (I also love the theme/design), I don’t have time to go through it all
    at the moment but I have book-marked it and also added in your RSS feeds,
    so when I have time I will be back to read much more, Please do keep up the superb
    job.

  2. Excellent beat ! I would like to apprentice
    while you amend your web site, how could i subscribe for a blog
    site? The account aided me a acceptable deal. I had been tiny
    bit acquainted of this your broadcast offered
    bright clear idea

  3. I’m really loving the theme/design of your site. Do you ever run into any browser
    compatibility problems? A handful of my blog audience have
    complained about my website not working correctly in Explorer but looks great in Safari.

    Do you have any ideas to help fix this issue?

  4. Fantastic site you have here but I was wanting to know if you knew of any user discussion forums
    that cover the same topics talked about here? I’d really love to be
    a part of group where I can get advice from other knowledgeable individuals that share
    the same interest. If you have any recommendations, please let me know.
    Cheers!

  5. I’m extremely impressed together with your writing skills and also with the structure in your weblog.
    Is that this a paid theme or did you modify it yourself?
    Either way stay up the nice quality writing, it’s uncommon to look a great weblog like this one these days..

  6. I’m not sure why but this blog is loading incredibly slow for me.
    Is anyone else having this problem or is it a issue on my end?
    I’ll check back later and see if the problem still
    exists.

  7. Yesterday, while I was at work, my cousin stole my apple ipad
    and tested to see if it can survive a 30 foot
    drop, just so she can be a youtube sensation. My apple ipad is now broken and she has
    83 views. I know this is totally off topic but I had
    to share it with someone!

  8. With havin so much content and articles do you ever run into any issues of plagorism or
    copyright infringement? My blog has a lot of exclusive content I’ve either created myself or outsourced but it
    seems a lot of it is popping it up all over the internet
    without my authorization. Do you know any ways
    to help reduce content from being stolen? I’d really appreciate it.

Atbildēt

Jūsu e-pasta adrese netiks publicēta.