/usr/share/games/cuyo/go2.ld is in cuyo-data 2.0.0brl1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | #
# Copyright 2006 by Mark Weyer
# partly based on go.ld which, at that time, was:
# Copyright <=2004 by Immanuel Halupczok
# Maintenance modifications 2005,2006 by the cuyo developers
# Modified 2010 by Mark Weyer
# Maintenance modifications 2008,2011 by the cuyo developers
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# The above notices apply to this file and to:
# igGo.xpm[.gz], igSchwarz.xpm[.gz], igWeiss.xpm[.gz]
#
GoII={
name = "Go"
author = "Mark Weyer"
description = "Why to place your goban horizontally"
pics = Stein*2
startpic = igGo.xpm
startdist = "*........*","**......**","***....***","****..****"
emptypic = Rand
chaingrass = 1
Stein = {
numexplode = 0
pics = igSchwarz.xpm,igWeiss.xpm
greyprob = 1
<<
Stein = {
weight = -(falling
|| (kind@(1,0)==Rand) || (kind@(-1,0)==Rand)
|| (kind@(0,1)==Rand) || (kind@(0,-1)==Rand));
# -1, wenn der Stein Freiheiten hat
if falling -> C else A;
file=kind-Stein;
*;
};
>>
}
Rand = {
pics = mgRand.xpm
<<
Rand = {
switch {
11111111 -> A;
1?111111 -> M;
111?1111 -> B;
11111?11 -> E;
1111111? -> D;
111?111? -> I;
1?111?11 -> C;
??11111? -> N;
1???1111 -> F;
111???11 -> H;
11111??? -> P;
????111? -> O;
1?????11 -> J;
111????? -> G;
??111??? -> L;
???????? -> K;
};
if (pos>0) -> *;
};
>>
}
}
|