Author Topic: Hard bot  (Read 1519 times)

Offline ashton1993

  • Bot Neophyte
  • *
  • Posts: 14
    • View Profile
Hard bot
« on: May 15, 2011, 01:44:11 PM »
Taking up the recent trend created by PhiNotPi I decided to create my own challenge, can you create a bot which uses only a single inc and a single dec? Whilst still remaining as efficient as possible? The shortest bot that can meet the criteria below wins  :D
  • Increase total energy of species over a time-frame of 50,000 cycles.
« Last Edit: May 15, 2011, 02:46:51 PM by ashton1993 »

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Hard bot
« Reply #1 on: May 15, 2011, 01:50:54 PM »
One inc and one dec?

EDIT: And does it have to reproduce?

EDIT: 2000 cycles a bit too little, don't you think... the max vel of a bot is very low with only up.
« Last Edit: May 15, 2011, 02:17:43 PM by Panda »

Offline ashton1993

  • Bot Neophyte
  • *
  • Posts: 14
    • View Profile
Re: Hard bot
« Reply #2 on: May 15, 2011, 02:46:34 PM »
Quote
One inc and one dec?
Yes

Quote
EDIT: And does it have to reproduce?
No

Quote
EDIT: 2000 cycles a bit too little, don't you think... the max vel of a bot is very low with only up.
Good point, I'm changing it too 50,000

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Hard bot
« Reply #3 on: May 15, 2011, 02:55:18 PM »
Yaya! That's better:

Code: [Select]
start
.shoot *.myeye *.refeye sub sgn abs *.eye5 20 sub sgn 1 add sgn mult mult dec
.up  inc

Offline PhiNotPi

  • Bot Builder
  • **
  • Posts: 64
    • View Profile
Re: Hard bot
« Reply #4 on: May 16, 2011, 07:40:08 AM »
Is the bot allowed to become overly specialized?  The bot on the Shortest Fully Functional Bot challenge became so specialized that it could only eat non-moving veggies with 7 eyes, and I don't know if that sort of thing would be allowed here.
I am biased neither towards nor against any single mathematical constant.