We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3D maze in browser controlled by Small Basic
#31
I update the 3D browser code so that as an easier challenge it will pass back the current cell location, possible movement directions and you can the ask the robot to just animate to one of the available neighbor cells, ie. the robot has more internal awareness and less for the AI controller to do.

This is a very simple sample code to show the new data and commands: GRWW331.000 - any questions or problems welcome.

I do think that the original challlenge is much more interesting, trying to move and navigate just using the original methods provided.

EDIT

Fixed an issue.
[-] The following 1 user Likes litdev's post:
  • stevantosic
Reply
#32
(3 hours ago)litdev Wrote: ...
I do think that the original challlenge is much more interesting, trying to move and navigate just using the original methods provided.
...

I also think the original challlenge is more interesting.  Blush
[-] The following 1 user Likes AbsoluteBeginner's post:
  • litdev
Reply
#33
The simpler, the better. The newer one is excellent.
Reply
#34
(1 hour ago)stevantosic Wrote: The simpler, the better. The newer one is excellent.

I wonder if climbers agree with this idea.  Wink
Reply
#35
Haha AB,

We are all coming at this with different objectives, me and you mainly for our entertainment and I think Stevan maybe wants to use as a teaching aid as well.
Reply
#36
Yes, it is possible.  Shy

I was able to do test runs of my code.
Now I have the following question. Can we change the format of the commands that the SB program sends to the browser engine?
Can we make the "move", "left" and "right" commands send not a logical 0 or 1, but a digital value of the step by which the browser engine should change the rotation angle or position of the robot in one iteration of the calculation?  Huh
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)