| How Do U Create Tiny-bots, And Wat Are They Used 4 |
Track this topic |
Email this topic |
Print this topic
|
| Bob-Jim |
Posted: Jul 15 2005, 09:09 PM |
 |
|

SMG Shooter! (Wolf:ET)
    
Group: Members
Posts: 252 (3 robots)
Member No.: 447
Joined: 14-July 05

|
I was wondering how u create tinybots on RB. I would like to try and make 1 myself!!!!
-------------------- If you don't like the answer, ask a different question
Impossible is not just a word, its a DARE!
Robots: Dragon Flame Bob |
| Eldritch Cadillac |
| Posted: Jul 16 2005, 01:10 AM |
 |
|

Underpaid and underused
    
Group: Members
Posts: 280 (4 robots)
Member No.: 410
Joined: 29-May 05

|
They're mainly at an R & D stage, but will soon be omnipresent in society when thier laudable aims will become irrevocably corrupted, leading to mankind drowning in a sea of grey goo.
No, wait, maybe that was something else.
* * * * *
Tinybots are easy to create!
I don't know the exact size limit, but they are simply robots whose code length doesn't exceed a certain number of characters.
They are used for winning Tinybot contests I believe, as they are the only ones that qualify to enter.
-------------------- ...on the other hand, you've got different fingers! |
| steJ |
| Posted: Jul 16 2005, 04:45 AM |
 |
|

Tiny Bot Obsessive
    
Group: Moderators
Posts: 951 (13 robots)
Member No.: 9
Joined: 2-May 03

|
Im a bit of a tiny bot addict i have to say. I find that they are a lot more fun to make for someone who doesnt have the time/skills to make a monster of a bot.
Usually anything under 1000 bytes counts as a tiny bot, that ammount doesnt include the author and naming commands usually so its a 1000 bytes of pure code.
If there is sufficient interest in tiny bots again i will be happy to run my Tiny Bot Olympiad Contest again.
-------------------- He who laughs last, thinks slowest. SteJ |
| tomash |
Posted: Jul 16 2005, 10:32 AM |
 |
|

Grand Master
    
Group: Moderators
Posts: 810 (8 robots)
Member No.: 441
Joined: 11-July 05

|
Wow. I thought tinybots were bots with almost no code! all of my bots are under 100kb, and i thought they where quite big! Oops! |
| Echo Switch |
| Posted: Jul 16 2005, 11:00 AM |
 |
|

Super-Duper Programmer
    
Group: Registered Owners
Posts: 408 (8 robots)
Member No.: 60
Joined: 18-November 03

|
I personally love tiny bots. I seem to get lost in all the possibilites that arise when you can run a muck with code, so I would like to try the Tiny bot Olympiad. But what about making the limit 1000 bytes to add some variety and a bit of adapt-ness, to the competition. I'll join it!
- Echo |
| steJ |
| Posted: Jul 16 2005, 11:22 AM |
 |
|

Tiny Bot Obsessive
    
Group: Moderators
Posts: 951 (13 robots)
Member No.: 9
Joined: 2-May 03

|
Ok im a little confused. Great to hear people are interested cos i got no response when i ran it for the third time and i was a bit disheartened by that so after the rumble ill deffo run it again.
Onto the confusion.
| QUOTE | | But what about making the limit 1000 bytes to add some variety and a bit of adapt-ness, to the competition. |
The limit is 1000 bytes, however i dont count the command lines which are author version and name. that way people dont just have to call their robot "a" in order to reduce its size and also you know who made what still as the author command is still there. Ill get to work on a website and try to irradicate any confusion
| QUOTE | | Wow. I thought tinybots were bots with almost no code! all of my bots are under 100kb, and i thought they where quite big! Oops! |
under 100kb, cool but 100KB is a lot greater than 1000 bytes. I do honestly mean bytes, i.e 100 characters in notepad to go from the start of "init" up to the very last "}" closing the bot section.
As a simple example take a look at my bot Stilletto, its on the registry and is what i usually enter as im too lazy to code these days.
Hope this sorts out things that were being misunderstood  To dreemweaver where i shall make a nice mini site. I dont think i have any web space so if some kind soul out there could host it for me
-------------------- He who laughs last, thinks slowest. SteJ |
| tomash |
| Posted: Jul 16 2005, 11:31 AM |
 |
|

Grand Master
    
Group: Moderators
Posts: 810 (8 robots)
Member No.: 441
Joined: 11-July 05

|
oh. sorry. i thought it said kb not bytes! |
| Echo Switch |
| Posted: Jul 16 2005, 03:30 PM |
 |
|

Super-Duper Programmer
    
Group: Registered Owners
Posts: 408 (8 robots)
Member No.: 60
Joined: 18-November 03

|
| QUOTE | | The limit is 1000 bytes, |
I'm sorry, I assumed most TB contest were held at 500 bytes. Good to hear the TBO will be 1000 |
| Bob-Jim |
| Posted: Jul 20 2005, 08:46 PM |
 |
|

SMG Shooter! (Wolf:ET)
    
Group: Members
Posts: 252 (3 robots)
Member No.: 447
Joined: 14-July 05

|
Not Fair my bot is 1.65kb
-------------------- If you don't like the answer, ask a different question
Impossible is not just a word, its a DARE!
Robots: Dragon Flame Bob |
| Eldritch Cadillac |
| Posted: Jul 21 2005, 03:42 AM |
 |
|

Underpaid and underused
    
Group: Members
Posts: 280 (4 robots)
Member No.: 410
Joined: 29-May 05

|
You may be able to 'tinify' it, if you haven't already.
When designing your code comments should be used liberally and labels given names that make sense. However, if once it's finished, you want the file to be as small as possible then replace these with single characters.
For instance if you have code such as :
regcore( Core ) regcldmissile( MissileHit, 1 ) regdtcrobot( FoundRobot, 2 )
It could be replaced with :
regcore( C ) regcldmissile( M, 1 ) regdtcrobot( F, 2 )
Then instead of Core { .... } you use C { ... }, etc. etc.
This post has been edited by Eldritch Cadillac on Jul 21 2005, 03:43 AM
-------------------- ...on the other hand, you've got different fingers! |
| MrFox |
| Posted: Jul 21 2005, 04:12 AM |
 |
|

Tactical Engineer
    
Group: Moderators
Posts: 1114 (8 robots)
Member No.: 27
Joined: 23-May 03

|
Another mehtod is to assign a single character variable to system variables that you may use more than once.
i.e.
| RSL | Core { scan() s = _scandistfc b = _dtcbearing
} |
In this case, now you can use 's' and 'b' for _scandistfc and _dtcbearing respectively. NOte that htis is really only effective if you use the system variables more than once in your robot. If you only use it once, then you just added 5 unecessary charcters to your code, 's = ' and 's' for instance, spaces are included.
This post has been edited by MrFox on Jul 21 2005, 04:14 AM
-------------------- "Life is inevitable." Me
See profile for Authored Robots and Contest Standings. Robots(7): Lunatic Frenzy, JAM, ittyBot, ZenBot, ZenBittyBot,RadFly,Omni |
| ospector |
| Posted: Jul 21 2005, 07:22 AM |
 |
|

Serious Player
  
Group: Registered Owners
Posts: 88 (19 robots)
Member No.: 127
Joined: 8-February 04

|
I'm a big fan of tiny bots, and winner of TBAILO (Tiny Bot All In Last Out). You may look at the tiny ones by OSPECTOR, namely Car5 series, Abir3, Square, Urizen, Moses. Other beautiful tiny ones, fitting more to RB V1.3 are Init3 (David Finch, bygone genius) and others residing at the FTP site. |
| tomash |
| Posted: Jul 23 2005, 02:32 AM |
 |
|

Grand Master
    
Group: Moderators
Posts: 810 (8 robots)
Member No.: 441
Joined: 11-July 05

|
Im having real trouble with my tinybot - it just sits and does nothing. Oh well, ill just have to figure it out!
I think this is my 100th post. Yay! |
| Eldritch Cadillac |
| Posted: Jul 23 2005, 09:12 AM |
 |
|

Underpaid and underused
    
Group: Members
Posts: 280 (4 robots)
Member No.: 410
Joined: 29-May 05

|
maybe it's too tiny
-------------------- ...on the other hand, you've got different fingers! |
| tomash |
| Posted: Jul 23 2005, 09:23 AM |
 |
|

Grand Master
    
Group: Moderators
Posts: 810 (8 robots)
Member No.: 441
Joined: 11-July 05

|
well, its 502bytes, so probably! |
|