• Start
      • Back
      • Blog
      • Joomla 3 - administracja
      • Joomla 4 - administracja
      • Wordpress - administracja
      • Code Combat
      • Joomla czy Wordpress
      • Polityka prywatności
  • Portfolio
  • Strony internetowe
      • Back
      • Aktualizacje i szkolenia
      • Strony Responsywne
      • Jak pracuję
      • CMS Joomla
      • Pozycjonowanie strony
      • Hosting

Codecombat - brawler hunt - polowanie na brawlery - JavaScript

Szczegóły
10 sierpień 2020
2027

// Nie martw sie o małe i średnie ogry.
// Twoimi celami są typy "brawler".
// Kiedy awanturnik (brawler) jest bliżej niż 50metrów , odpal artylerię.

while (true) {
    // Znajdź najbliższego wroga i zmież dystans do niego.
    var enemy = hero.findNearestEnemy();
    var distance = hero.distanceTo(enemy);

Więcej…

Codecombat - usual day - JavaScript

Szczegóły
10 sierpień 2020
2167

// Defeat munchkins, collect coins. Everything as usual.
// Use AND to check existence and type in one statement.

while (true) {
    var enemy = hero.findNearestEnemy();
    // With AND, the type is only checked if enemy exists.
    if (enemy && enemy.type == "munchkin") {
        hero.attack(enemy);
    }

Więcej…

Codecombat - wonderglade - cudowna polana - JavaScript

Szczegóły
10 sierpień 2020
2010

while (true) {
    var item = hero.findNearestItem();
    if (item) {
        // If item.type isn't equal to "gem":
        if (item.type != "gem") {
            
        

Więcej…

Codecombat - spring thunder - wiosenny grzmot - JavaScript

Szczegóły
10 sierpień 2020
2289

// Certain coins and gems attract lightning.
// The hero should only grab silver coins and blue gems.

while (true) {
    var item = hero.findNearestItem();
    // A silver coin has a value of 2.
    // Collect if item.type is equal to "coin"
    // AND item.value is equal to 2.

Więcej…

Codecombat - metal detector - wykrywacz metalu - JavaScript

Szczegóły
10 sierpień 2020
2563

// Artyleria używa monet jako celu.
// Posłużysz jako dalmierz dla artylerii.

// Napisz funkcję.
function coinDistance() {
    // Znajdź najbliższą monetę.
    var coin = hero.findNearestItem();
    
    
    // Jeśli  jest tam moneta , zwróć dystans do niej.
    if (coin) {
    var distance = hero.distanceTo(coin);
    return distance;
    }

Więcej…

Codecombat - star shower - deszcz gwiazd - JavaScript

Szczegóły
10 sierpień 2020
2195

// Zbieraj monety tylko wtedy gdy znajdują się bliżej niż 20m.
// Zbierz wszystkie gemy.

while (true) {
    var item = hero.findNearestItem();
    var distance = hero.distanceTo(item);
    // Jeżeli typ przedmiotu to "gem"

Więcej…

Codecombat - forest shadow - leśny cień - JavaScript

Szczegóły
10 sierpień 2020
2168

// Certain coins and gems attract lightning.
// The hero should only grab silver coins and blue gems.

while (true) {
    var item = hero.findNearestItem();
    // A silver coin has a value of 2.
    // Collect if item.type is equal to "coin"
    // AND item.value is equal to 2.

Więcej…

Codecombat - toggulation - JavaScript

Szczegóły
09 sierpień 2020
2127

<!-- The 'toggleClass' jQuery function turns on/off... -->
<!-- ... classes whether or not the class is off/on. -->

<script>
    var image = $("img");
    var header = $("h1");
    function toggleExpand() {
        image.toggleClass("expand");
        // Toggle class "expand" on the 'h1' tag by using the header variable we just created
        header.toggleClass("expand");
    }

Więcej…

Strona 12 z 27

  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • Strony internetowe Lublin
  • Strony internetowe Puławy
  • Strony www Puławy
  • Strony www Lublin
  • Strony responsywne Lublin
wykonanie: kasai1.com