The Perfect Tower II: Mining AIs (Working 2021)

Here are two mining AIs with low script actions requirements(6).

 

Mining all layers
The AI
BG1pbmUAAAAAAAAAAAYAAAANbG9jYWwuaW50LnNldAhjb25zdGFudAQEY2FzZQhjb25zdGFudAIAAAAADW1pbmUubmV3bGF5ZXIIbWluZS5kaWcOYXJpdGhtZXRpYy5pbnQNbG9jYWwuaW50LmdldAhjb25zdGFudAQEY2FzZQhjb25zdGFudAQDbW9kCGNvbnN0YW50AgQAAAADZDJpDGRvdWJsZS5mbG9vchFhcml0aG1ldGljLmRvdWJsZQNpMmQNbG9jYWwuaW50LmdldAhjb25zdGFudAQEY2FzZQhjb25zdGFudAQBLwhjb25zdGFudAMAAAAAAAAQQA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BARjYXNlDmFyaXRobWV0aWMuaW50DWxvY2FsLmludC5nZXQIY29uc3RhbnQEBGNhc2UIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5nZW5lcmljLmdvdG9pZghjb25zdGFudAIDAAAADmNvbXBhcmlzb24uaW50CGNvbnN0YW50Ag8AAAAIY29uc3RhbnQEAj49DWxvY2FsLmludC5nZXQIY29uc3RhbnQEBGNhc2UOZ2VuZXJpYy5nb3RvaWYIY29uc3RhbnQCAQAAAA5taW5lLmhhc0xheWVycw==

case : the total number of grid position.
With a math trick, it encodes the x and y position of each grid using the modulo of case by 4 for the x and the floor of the division of case by 4 for the y.

This AI mines all the layers of a color.

Mining all colors
The AI
Cm1pbmVfbGF5ZXIBAAAACW9wZW4ubWluZQAAAAAFAAAADWxvY2FsLmludC5zZXQIY29uc3RhbnQEBWxheWVyCGNvbnN0YW50AgEAAAAIbWluZS50YWINbG9jYWwuaW50LmdldAhjb25zdGFudAQFbGF5ZXITZ2VuZXJpYy5leGVjdXRlc3luYwhjb25zdGFudAQEbWluZQ1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAVsYXllcg5hcml0aG1ldGljLmludA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAVsYXllcghjb25zdGFudAQBKwhjb25zdGFudAIBAAAADmdlbmVyaWMuZ290b2lmCGNvbnN0YW50AgIAAAAOY29tcGFyaXNvbi5pbnQIY29uc3RhbnQCDAAAAAhjb25zdGFudAQCPj0NbG9jYWwuaW50LmdldAhjb25zdGFudAQFbGF5ZXI=

Layer : the current color to mine

This AI is triggered when you enter the mine and will call the mine AI on all colors and end.

Related Posts:

Post Author: Robins Chew

Leave a Reply

Your email address will not be published. Required fields are marked *