vineetsk1 / Switch-Strategies

Implementations of the strategies for Eternabot switches.
0 stars 2 forks source link

[Strategy Market][Switch] Shape stable against mutation #17

Open vineetsk1 opened 9 years ago

vineetsk1 commented 9 years ago

Original Author: jandersonlee Original Link: https://getsatisfaction.com/eternagame/topics/-strategy-market-switch-shape-stable-against-mutation

For all pairs that bond the same way in both on and off modes, subtract one point for each pair that when flipped causes the secondary structure to change in either mode and two points if it causes the secondary structure to change in both modes. (This is a switch variant on an old idea; pardon me if I forget the proper attribution.)

vineetsk1 commented 9 years ago

Implemented with 14 lines of code.