Micro sized mirage gun
From User talk:D414/Diary of a Robocoder
← Thread:User talk:D414/Diary of a Robocoder/Micro sized mirage gun
Jump to navigation
Jump to search
← Thread:User talk:D414/Diary of a Robocoder/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.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:User talk:D414/Diary of a Robocoder/Micro sized mirage gun/reply.