996
|
1 (
|
|
2 Copyright {c} 2005 Gregor Richards
|
|
3
|
|
4 Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5 of this software and associated documentation files {the "Software"}, to deal
|
|
6 in the Software without restriction, including without limitation the rights
|
|
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8 copies of the Software, and to permit persons to whom the Software is
|
|
9 furnished to do so.
|
|
10
|
|
11 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
12 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
13 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
14 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
15 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
16 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
17 SOFTWARE.
|
|
18 )
|
|
19
|
|
20 A trick to prevent simple algorithms from getting me = I loop only once so it will find me but cant
|
|
21 hurt me
|
|
22 :@%>+++++++++++++++[...............................................................................
|
|
23 ...............................................................................................+]*;
|
|
24
|
|
25 Bomb finding algorithm to try to disable any set bombs
|
|
26 :@[>?+++]!;
|
|
27
|
|
28 Try to hinder the program by destroying loops
|
|
29 :[>?+++++]!;
|
|
30 %%%%%%%%%%%%
|
|
31 :[>?+++++++]!;
|
|
32 %%%%%%%%%%%%%%
|
|
33 :[>?+++++++++]!;
|
|
34 %%%%%%%%%%%%%%%%
|
|
35
|
|
36 Then set bombs on produced nops
|
|
37 :[>?]++++++++++++++!;
|
|
38 *
|