codecombat js
2024-08-26 21:45:37
#1
// Move to the gem.
// Don't touch the walls!
// Type your code below. this.moveRight();
this.moveDown();
this.moveRight();
#2
// Grab all the gems using your movement commands. this.moveRight();
this.moveDown();
this.moveUp();
this.moveUp();
this.moveRight();
#3
// 避开食人魔的视线,夺取宝石。
this.moveRight();
this.moveUp();
this.moveRight();
this.moveDown();
this.moveRight();
#4
// 夺取宝石,然后到楼梯那里去。
this.moveRight();
this.moveUp();
this.moveRight();
this.moveRight();
this.moveDown();
this.moveDown();
this.moveUp();
this.moveRight();
#5
// 抵抗Brak and Treg!
// 你必须攻击小食人魔两次。
this.moveRight();
this.attack("Brak");
this.attack("Brak");
this.moveRight();
this.moveRight();
this.attack("Treg");
this.attack("Treg");
this.moveRight();
#6
// 打败食人魔
// 记住,每只攻击两次。 var kiss=this.findNearestEnemy();
this.attack(kiss);
this.attack(kiss);
kiss=this.findNearestEnemy();
this.attack(kiss);
this.attack(kiss);
kiss=this.findNearestEnemy();
this.attack(kiss);
this.attack(kiss);
#7
loop{
this.moveRight();
this.moveRight();
this.moveUp();
this.moveUP();
}
#8
// 使用loop循环穿越迷宫!
loop{
this.moveRight();
this.moveUp();
this.moveRight();
this.moveDown();
}
#9
// 攻击大门(Door)
// 需要攻击很多次,请使用loop循环 loop {
var kiss=this.findNearestEnemy();
this.attack(kiss);
}
#10
// 你可以用名称标签作为变量。 loop{
var kiss=this.findNearestEnemy();
this.attack(kiss);
}
#11
// 你的英雄不知道这些敌人的名字!
// 这眼镜给了你寻找最近敌人的能力。 // 你可以用名称标签作为变量。 loop{
var kiss=this.findNearestEnemy();
this.attack(kiss);
}
#12
// 创建第二个变量并攻击它. var enemy1 = this.findNearestEnemy();
this.attack(enemy1);
this.attack(enemy1);
var enemy2 = this.findNearestEnemy();
this.attack(enemy2);
this.attack(enemy2);
this.moveRight();
this.moveDown();
this.moveRight();
#13
this.moveRight(); // 通过上一个关卡,你应该能认识这个。
var enemy1 = this.findNearestEnemy();
// 现在,攻击那个变量,
this.attack(enemy1);
this.attack(enemy1);
this.moveRight();
this.moveRight();
enemy1=this.findNearestEnemy();
this.attack(enemy1);
this.attack(enemy1);
this.moveRight();
#14
loop{
this.moveRight();
this.moveUp();
var a=this.findNearestEnemy();
this.attack(a);
this.attack(a);
this.moveRight();
this.moveDown();
this.moveDown();
this.moveUp()
}
#15
// 建造三个栅栏来隔离兽人! this.moveDown();
this.buildXY("fence", , );
this.buildXY("fence", , );
this.buildXY("fence", , );
loop{
this.moveRight();
}
#16
// 建立两个围栏保护村民
// Hover your mouse over the world to get X,Y coordinates.
this.buildXY("fence", , );
this.buildXY("fence", , );
#17
// 到小路的尽头去,并在那儿修一个栅栏。
// 利用你的 moveXY(x, y)坐标移动功能。 this.moveXY(, );
this.moveXY(, );
this.moveXY(, );
this.buildXY("fence", ,);
后面关卡图片挂了,太TM无聊了,这个网站,居然还收费……
最新文章
- Codeforces Round #389 (Div. 2,) B C
- 模拟赛1101d1
- 第六章:javascript:字典
- linux命令的排列、替换与别名
- 微信小程序开发 导入文件说没找到.json的问题
- jquery中数组对象下面的属性名名是动态的如何获取
- Hive中数据的导入与导出
- 在使用 Spring Boot 和 MyBatis 动态切换数据源时遇到的问题以及解决方法
- js 库
- Git冲突与解决方法
- 保存 Mybatis打印的SQL日志到数据库
- ASP.NET Identity 修改表名和主键类型
- angular6 Can't bind to 'zzst' since it isn't a known property of
- Lamda表达式,map和集合操作
- Scratch3.0——作品截图
- jQuery 页面加载初始化
- 高阶篇:4.2.3)DFMEA现有设计:预防控制与探测控制
- hdu1269(有向图强连通分量)
- Elasticsearch的前后台运行与停止(tar包方式)
- Swing---WindowConstants
热门文章
- 聊天室(下篇)GatewayWorker 与 Laravel 的整合
- iOS开发之删除Provisioning Profiles方法
- 七、springcloud之配置中心Config(二)之高可用集群
- 在使用FastJson开发遇到的的坑
- nvm npm node.js的关系
- 根据经纬度坐标计算距离-python
- mac下---charles抓包https
- vue 递归组件
- Ubuntu 16.04 使用docker资料汇总与应用docker安装caffe并使用Classifier(ros kinetic+usb_cam+caffe)
- 【Sequel Pro】下载查询结果乱码问题处理方式