View source for User talk:D414/Diary of a Robocoder

From Robowiki
Jump to navigation Jump to search

Contents

Thread titleRepliesLast modified
Micro sized mirage gun120:35, 29 April 2024
Congratulations on the top nano melee bot! 512:31, 10 April 2024

Micro sized mirage gun

Great work! I'm very curious how it would do when combined with nano-sized melee movement. In case it helps (and you haven't already done it) you could reduce the code size by

  • Removing the gameTime > 1 check.
  • Use a constant state instead of makeState(...) when the opponent wasn't scanned for consecutive ticks.
  • Instead of replacing a random table entry, just keep replacing the last one when the table is full.
  • Don't add the weight/5 addition to the midpoint aim bin.

I imagine these changes would only slightly degrade performance while saving a decent amount of code size, but I kept them in Mirage because I had the space.

--Kev (talk)15:23, 29 April 2024

Thank you!

For a while I was noticing quite a drop in performance without the gameTime > 1 check. It was driving me nuts because I couldn't figure out why but trying it now it has minimal impact. I'm still confused but won't say no to another 5 bytes! That gets me down to 665 bytes without any movement code or colours.

I've tried it with Quantum, Lib and Infinity's movements so far. Quantum's movement isn't a great fit, presumably because it moves about and changes target quite frequently. Lib's movement wasn't quite as good as expected, not much (if any) better than just doing Infinity's box movement without seeking the edge which itself might still be good enough to hit top five in the micro melee.

Sprout's movement gave some pretty exciting results. I've not tested extensively but it wouldn't surprise me if it challenged Wallaby. Gotta squeeze a bit more out for that to fit though.

D414 (talk)19:51, 29 April 2024
 

Congratulations on the top nano melee bot!

That is quite the result for your first bot :). Avoiding where other bots are (probably) going to be rather than where they are now is a really neat idea that maybe could me useful for melee bots of all codesizes.

--Kev (talk)03:18, 7 April 2024

Congrats! Glad to see new (and mighty!) competitors in melee sector, there’s still plenty to explore here. Maybe even a new general melee king in the near future;)

Xor (talk)04:54, 7 April 2024

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:User talk:D414/Diary of a Robocoder/Congratulations on the top nano melee bot!/reply (3).

 

Thank you! I've got a few ideas to improve on Quantum's implementation of the concept, although most/all of them will have to wait until I start working on a microbot :)

I'm definitely standing on the shoulders of giants with this entry though, which reminds me that I need to create a page for Quantum and repackage it with source code asap so that I can credit where it's due.

D414 (talk)09:41, 7 April 2024
 

Looks like Quantum might lose the nano melee crown once scores stabalise some more. I'm struggling to find the change that would warrant a v0.3.0 release and it'll be a long time before I have a framework to help me fine tune parameters to mark v1.0.0.

That said, even if I do lose the nano crown I'm still incredibly proud of Quantum's survival score - it smashes the other nanos out of the park on survival - it's currently 4th on survival in micro and 10th in mini. In fact, it currently has a better survival score in the mini category than it does in nano.

D414 (talk)10:43, 10 April 2024

And there goes my nano crown. Looks like I'm going to have to drop the colours :(

D414 (talk)12:31, 10 April 2024