Hello everyone!
I am a fan of Redcode and passionate about this art. Last year I
participated in a local corewars tournament and this year I wanted to optimize the warrior I participated with. It is a version of Recon with bootstrap and decoy. I pass you the code. I appreciate any help, tips or ideas!!
And by the way, ask yourself, if anyone has (or knows where to get) the
book "CoreWar Krieg der Kerner Handbuch fur Einsteiger" by Sascha Zapf,
in English!! (or Spanish) - Someone knows?
Hi,I thank you very much John! I'll put your recommendations into practice and I'm sure I'll get the best version of CHaiNS for the tournament. I'll tell you how it turns out! ;)
On Sat, 28 Jan 2023 11:51:43 -0800, Francisco Jose Castillo Mogollon
wrote:
Hello everyone!Recon is really effective, but I can see a few opportunities. If you
I am a fan of Redcode and passionate about this art. Last year I participated in a local corewars tournament and this year I wanted to optimize the warrior I participated with. It is a version of Recon with bootstrap and decoy. I pass you the code. I appreciate any help, tips or ideas!!
haven't already, it's worth setting up a benchmark to test different versions of CHaiNS. E.g. pick ~20 warriors from the Koenigstuhl top 50
to test against.
You could try different values of rStep to change the scan pattern.
There's a tool called Randy (available at http://inversed.ru/CoreWar.htm) which you can use to create multiple copies with different constants.
Then run them all against the benchmark. Also, try the same for Timer.
CHaiNS is detecting its own decoy, slowing it down. The scan compares locations which are 6 cells apart, so try changing the decoy so the
contents of decoy are the same as decoy+6, decoy+1 the same as decoy+7, decoy+x the same as decoy+x+6, etc. Then try changing the boot distance
to avoid detect the decoy for as long as possible.
And by the way, ask yourself, if anyone has (or knows where to get) the book "CoreWar Krieg der Kerner Handbuch fur Einsteiger" by Sascha Zapf,Unfortunately, the Handbook is only available in German, but there are
in English!! (or Spanish) - Someone knows?
quite a few guides and tutorials covering similar topics in English.
Good luck with the tournament.
John
PS - have you tried submitting to the KOTH / SAL hills? CHaiNS might
score well on the No Pspace and Multiwarrior hills :-)
On Wed, 01 Feb 2023 16:49:11 -0800, Francisco Jose Castillo Mogollon
wrote:
And about participating in KOTH/SAL hills, yes!!, I could also try it!
¿what steps should i follow?
Hi, just send an email with the correct ;redcode declaration (e.g. ;redcode-94nop or ;redcode-94m). Just make sure your email is set to
plain text and there aren't any non-ASCII characters. There's a list of hills and more info in the FAQ:
And about participating in KOTH/SAL hills, yes!!, I could also try it!
¿what steps should i follow?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 388 |
Nodes: | 16 (4 / 12) |
Uptime: | 04:23:09 |
Calls: | 8,219 |
Calls today: | 17 |
Files: | 13,122 |
Messages: | 5,872,094 |