Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**Mathegocart****Member**- Registered: 2012-04-29
- Posts: 1,917

I'm trying to program a Java program that makes a Robot that has a set configuration: (1,1,North,36 beepers). We have an open 10x10 space where I must make it place 8 beepers at (1,1), 7 beepers at (1,2), 6 beepers at (1,3), 5 beepers at (1,4) and so forth and so on. It ends on (1,9) with NO BEEPERS underneath. A beeper is a black circle. We can put beepers on other beepers. I can only use move(); and putBeeper(); ONCE EACH. I've tried using a loop, but it hasn't worked. Can anyone help?

Commands that robot knows(move, putBeeper, pickBeeper, turnLeft)

The integral of hope is reality.

May bobbym have a wonderful time in the pearly gates of heaven.

He will be sorely missed.

Offline

**Mathegocart****Member**- Registered: 2012-04-29
- Posts: 1,917

Anyone?

The integral of hope is reality.

May bobbym have a wonderful time in the pearly gates of heaven.

He will be sorely missed.

Offline

Pages: **1**