rnd wrote:UPDATES:
0. everything now works with 0.4.15, added lots of features
Thanks - that is an impressive list.
3. 2 players can do battle with tanks that shoot
I'm not into PvP.
Can the bots detect and shoot at mobs too ?
Ballistic shooting in 3D (i.e. at ghosts) might be a fun challenge...
Also, I made a fork/patch/
pull-request some time ago.
Did you notice it, were there any problems with it ?
Edit:
I was just checking the programs from my tutorial with the new version,
and noticed that some simple programs now don't work as expected,
e.g.
RC4b - Dig6Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
--Dig one block in every direction
dig.forward() dig.backward()
dig.left() dig.right()
dig.up() dig.down()
does only 1 or 2 digs when run.
So, it probably ran against basic_robot.maxdig
Likewise,
Build3 runs against the execution-limit.
How exactly should a program check for success/errors/restrictions ?
I think it would be nice to have at least some more feedback,
e.g. instead of
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
also return a message, like
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
So, I came up with
Build3a, that is essentially a turtle/l-system - interpreter
with some canned example-programs for building houses.
How about putting something like that interpreter into the standard basic_robot ?
The exact instruction-set for that interpreter is of course open for discussion.
The one in Build3a uses too many instruction-chars for digging and building, so
perhaps "build with material #0=air means digging", to streamline the set of commands.
I also would like to add simple macros, e.g. ":x=[fff>]" to define char x as a macro for "fff>".
And maybe "*4x" for repeating an instruction, and something like
"?xy" for 'check condition, if true do x, else do y'.
Also, a stack and/or a few registers :)