About 601,000 results
Open links in new tab
  1. Zero Sum Coding Tips - Ambassador - CodeCombat Discourse

    Mar 4, 2021 · Do you guys have any tips or code for Zero Sum? My code so far is: enemies = hero.findEnemies() nearestEnemy = hero.findNearest(enemies) enemy = …

  2. Zero Sum item identification - Level Help - discourse.codecombat

    May 29, 2021 · here is my code: return item.value / hd(item) friend.distanceTo(x) hero.distanceTo(x) hero.command(friend, "move", x) hero.command(friend, "attack", x) a = 0. …

  3. {SOLVED} Help with zero sum - Level Help - CodeCombat Discourse

    Mar 14, 2017 · enemies = hero.findEnemies() nearestEnemy = hero.findNearest(enemies) # Your hero can collect coins and summon troops. if hero.gold > hero.costOf("griffin-rider"): …

  4. Some useful tips for CodeCombat players https://git.io/cocotips

    Apr 14, 2020 · In mirror matches (Zero Sum, Ace of Coders) it's easier to just do. In Python: In JavaScript: as both players have the same hero type (or Tharin if their game session is …

  5. CodeCombat-Python-levels/fair-battle Answer at master - GitHub

    The attached codes are solutions to Code Combat levels and are written in Python. Most answers are not optimized or even the best answer but they meet all of the objectives for their …

  6. CodeCombat/ (Zero Sum) Pender Code (Team Red) at master - GitHub

    My Codecombat Codes (Do not plagiarize). Contribute to GalaxyOwl4/CodeCombat development by creating an account on GitHub.

  7. CodeCombat-Python-Solutions-Vadim/Multiplayer/ZeroSum.py at ... - GitHub

    Codecombat. Contribute to a1ip/CodeCombat-Python-Solutions-Vadim development by creating an account on GitHub. Skip to content. Toggle navigation. Sign in Product Actions. Automate …

  8. My CodeCombat Zero Sum tournament entry source code

    Check out https://gist.github.com/MHeasell/bb9f7253da45b5140a83 for the compiled version and http://michaelheasell.com/blog/2015/04/08/zero-sum-my-winning-strategy/ for a full write-up …

  9. Zero Sum — My Winning Strategy - Michael Heasell

    Apr 8, 2015 · The best way to find out about Zero Sum is to head over to CodeCombat and start playing! If that doesn’t take your fancy, I’ll explain the basics here so that you can understand …

  10. Zero Sum: Collecting Coins - Level Help - CodeCombat Discourse

    Aug 26, 2023 · Here is my code: if (hero.gold >= 50) { hero.summon("griffin-rider"); let friends = hero.findFriends(); for (let friend of friends) { let item = hero.findNearestItem(); let enemy = …

Refresh