designreport

a. What will a jumper do if the location in front of it is empty, but the location two cells in front contains a flower or a rock?

In this case, we design the jumper to turn right of 45 degrees.

b. What will a jumper do if the location two cells in front of the jumper is out of the grid?

In this case, we design the jumper to turn right of 45 degrees

c. What will a jumper do if it is facing an edge of the grid?

In this case, we design the jumper to turn right of 45 degrees

d. What will a jumper do if another actor (not a flower or a rock) is in the cell that is two cells in front of the jumper?

In this case, we design the jumper to turn right of 45 degrees

e. What will a jumper do if it encounters another jumper in its path?

If the two jumpers jump for the same location, the first jumper will take the location and the other one turn right of 45 degrees.
If the two jumpers just jump by, which means they don’t jump to the same location, they can both jump to their own locations.

f. Are there any other tests the jumper needs to make?

Yes,there are.
What if the location in front of the Jumper is occupied? Can a Jumper jump over only rocks and flowers?
The jumper can jump over only rocks and flowers.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值