Gizmotronn / python-learning

Learning about python for future projects
https://github.com/acord-robotics/python-learning
4 stars 3 forks source link

#22 - Codecombat Python #40

Open Gizmotronn opened 4 years ago

Gizmotronn commented 4 years ago

Also other stuff (see Clickup - https://share.clickup.com/t/h/1yrqh8/ROND9OWHNJQTT38; things like codecombat)

The final Kithmaze: https://codecombat.com/play/level/the-final-kithmaze?

# Use a while-true loop to both move and attack.

while True:        
    hero.moveRight()
    hero.moveUp()
    enemy = hero.findNearestEnemy()
    hero.attack(enemy)
    enemy = hero.findNearestEnemy()
    hero.attack(enemy)
    hero.moveRight()
    hero.moveDown(2)
    hero.moveUp()
    pass
issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.