TheCorrespondingSquares/chess-app

View on GitHub
app/assets/images/knight.svg

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<svg width="54px" height="90px" viewBox="0 0 54 90" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 45 (43475) - http://www.bohemiancoding.com/sketch -->
    <title>Untitled 3</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="White">
            <path d="M40.897,77.875 L40.897,74.472 C42.714,73.826 44.021,72.094 44.021,70.058 C44.021,67.903 42.556,66.088 40.571,65.544 L40.571,63.337 L41.111,63.337 C41.623,63.337 42.082,63.022 42.264,62.544 C42.319,62.401 42.554,61.778 42.888,60.771 C44.525,58.487 58.708,37.855 51.641,18.011 C44.213,-2.842 24.882,0.131 24.688,0.164 C24.093,0.264 23.656,0.779 23.656,1.383 L23.656,9.532 C20.305,10.463 17.932,12.231 17.56,12.519 C16.737,13.078 7.844,19.485 1.291,39.125 C1.209,39.323 1.107,39.523 1.009,39.722 C0.709,40.323 0.398,40.943 0.397,41.626 C0.395,43.246 1.46,45.403 3.047,46.993 C4.48,48.428 6.148,49.219 7.743,49.219 L12.328,49.219 C13.653,49.219 14.73,48.113 14.73,46.755 L14.73,42.282 C17.405,38.01 21.786,37.174 23.781,37.022 C23.84,38.876 23.368,42.911 18.763,46.062 C5.65,55.035 9.752,62.416 9.932,62.725 C10.154,63.105 10.56,63.337 10.999,63.337 L11.126,63.337 L11.126,65.382 C8.638,65.492 6.647,67.544 6.647,70.058 C6.647,72.094 7.954,73.828 9.772,74.473 L9.772,77.875 C6.231,78.467 3.522,81.544 3.522,85.25 L3.522,88.765 C3.522,89.447 4.075,90 4.758,90 L45.908,90 C46.591,90 47.143,89.446 47.143,88.765 L47.143,85.25 C47.146,81.544 44.438,78.467 40.897,77.875 Z M12.246,74.744 L14.579,74.744 L14.579,77.764 L12.246,77.764 L12.246,74.744 Z M15.567,74.744 L38.425,74.744 L38.425,77.764 L15.567,77.764 L15.567,74.744 Z M41.551,70.058 C41.551,71.28 40.557,72.273 39.336,72.273 L13.448,72.273 C12.832,71.731 12.442,70.944 12.442,70.058 C12.442,69.176 12.832,68.386 13.445,67.845 L39.336,67.845 C40.557,67.845 41.551,68.837 41.551,70.058 Z M33.818,10.463 C33.888,10.068 34.044,9.722 34.21,9.444 C35.947,10.345 39.573,12.647 42.59,17.334 C46.172,22.902 49.554,33.005 46.139,49.986 C45.835,50.646 45.532,51.279 45.231,51.883 C46.949,43.398 47.945,31.315 43.232,21.145 C41.286,16.947 37.605,12.04 33.818,10.463 Z M49.313,18.84 C52.693,28.327 50.738,38.233 47.85,45.891 C49.994,31.097 46.772,21.974 43.382,16.739 C40.325,12.015 36.736,9.65 34.842,8.649 C35.167,8.295 35.262,7.783 35.071,7.334 C34.865,6.85 34.372,6.55 33.851,6.583 C31.68,6.728 30.031,7.518 28.804,8.534 L28.804,2.46 C34.301,2.73 44.445,5.177 49.313,18.84 Z M26.128,2.487 C26.571,2.454 27.147,2.429 27.816,2.433 L27.816,8.96 C27.238,8.955 26.677,8.995 26.128,9.056 L26.128,2.487 Z M2.869,41.645 C2.885,41.497 3.087,41.094 3.221,40.827 C3.349,40.57 3.482,40.304 3.596,40.02 C3.606,39.996 3.615,39.972 3.623,39.946 C10.048,20.658 18.879,14.61 18.964,14.553 C18.995,14.533 19.027,14.51 19.055,14.488 C19.083,14.465 20.931,13.032 23.619,12.137 C22.982,12.509 22.478,12.863 22.199,13.137 L22.178,13.105 C21.798,13.355 12.795,19.436 6.156,39.369 C6.064,39.596 5.948,39.826 5.835,40.053 C5.562,40.601 5.303,41.118 5.302,41.627 C5.3,43.064 6.278,45.01 7.736,46.47 C7.834,46.568 7.935,46.656 8.034,46.746 L7.743,46.746 C6.809,46.746 5.763,46.215 4.796,45.246 C3.543,43.991 2.868,42.446 2.869,41.645 Z M20.161,48.102 C25.725,44.295 26.329,39.324 26.25,36.919 C26.949,36.84 27.631,36.7 28.291,36.506 C28.34,38.547 27.944,44.775 21.836,49.322 C14.632,54.683 13.681,58.801 13.796,60.866 L11.837,60.866 C11.372,59.206 11.063,54.327 20.161,48.102 Z M15.933,63.337 L15.933,65.373 L13.601,65.373 L13.601,63.337 L15.933,63.337 Z M9.121,70.058 C9.121,68.837 10.114,67.845 11.335,67.845 L12.134,67.845 C11.704,68.476 11.452,69.239 11.452,70.058 C11.452,70.879 11.702,71.64 12.129,72.273 L11.335,72.273 C10.114,72.272 9.121,71.279 9.121,70.058 Z M5.996,85.25 C5.996,82.64 8.002,80.491 10.552,80.259 C9.19,81.493 8.328,83.271 8.328,85.25 L8.328,87.528 L5.995,87.528 L5.995,85.25 L5.996,85.25 Z M44.675,87.528 L9.317,87.528 L9.317,85.25 C9.317,83.099 10.504,81.224 12.256,80.235 L39.661,80.235 C42.425,80.235 44.675,82.484 44.675,85.25 L44.675,87.528 Z" id="Shape" fill="#000000" fill-rule="nonzero"></path>
            <g id="Shadow-Fill" opacity="0.496886322" transform="translate(2.000000, 2.000000)" fill="#000000">
                <path d="M31.818,8.463 C31.888,8.068 32.044,7.722 32.21,7.444 C33.947,8.345 37.573,10.647 40.59,15.334 C44.172,20.902 47.554,31.005 44.139,47.986 C43.835,48.646 43.532,49.279 43.231,49.883 C44.949,41.398 45.945,29.315 41.232,19.145 C39.286,14.947 35.605,10.04 31.818,8.463 Z" id="Path"></path>
                <path d="M24.128,0.487 C24.571,0.454 25.147,0.429 25.816,0.433 L25.816,6.96 C25.238,6.955 24.677,6.995 24.128,7.056 L24.128,0.487 Z" id="Path"></path>
                <path d="M0.869,39.645 C0.885,39.497 1.087,39.094 1.221,38.827 C1.349,38.57 1.482,38.304 1.596,38.02 C1.606,37.996 1.615,37.972 1.623,37.946 C8.048,18.658 16.879,12.61 16.964,12.553 C16.995,12.533 17.027,12.51 17.055,12.488 C17.083,12.465 18.931,11.032 21.619,10.137 C20.982,10.509 20.478,10.863 20.199,11.137 L20.178,11.105 C19.798,11.355 10.795,17.436 4.156,37.369 C4.064,37.596 3.948,37.826 3.835,38.053 C3.562,38.601 3.303,39.118 3.302,39.627 C3.3,41.064 4.278,43.01 5.736,44.47 C5.834,44.568 5.935,44.656 6.034,44.746 L5.743,44.746 C4.809,44.746 3.763,44.215 2.796,43.246 C1.543,41.991 0.868,40.446 0.869,39.645 Z" id="Path"></path>
                <path d="M18.161,46.102 C23.725,42.295 24.329,37.324 24.25,34.919 C24.949,34.84 25.631,34.7 26.291,34.506 C26.34,36.547 25.944,42.775 19.836,47.322 C12.632,52.683 11.681,56.801 11.796,58.866 L9.837,58.866 C9.372,57.206 9.063,52.327 18.161,46.102 Z" id="Path"></path>
                <polygon id="Path" points="13.933 61.337 13.933 63.373 11.601 63.373 11.601 61.337"></polygon>
                <path d="M7.121,68.058 C7.121,66.837 8.114,65.845 9.335,65.845 L10.134,65.845 C9.704,66.476 9.452,67.239 9.452,68.058 C9.452,68.879 9.702,69.64 10.129,70.273 L9.335,70.273 C8.114,70.272 7.121,69.279 7.121,68.058 Z" id="Path"></path>
                <path d="M3.996,83.25 C3.996,80.64 6.002,78.491 8.552,78.259 C7.19,79.493 6.328,81.271 6.328,83.25 L6.328,85.528 L3.995,85.528 L3.995,83.25 L3.996,83.25 Z" id="Path"></path>
                <polygon id="Path" points="10.246 72.744 12.579 72.744 12.579 75.764 10.246 75.764"></polygon>
            </g>
            <g id="White-Fill" transform="translate(6.000000, 2.000000)" fill="#FFFFFF">
                <polygon id="Path" points="9.567 72.744 32.425 72.744 32.425 75.764 9.567 75.764"></polygon>
                <path d="M35.551,68.058 C35.551,69.28 34.557,70.273 33.336,70.273 L7.448,70.273 C6.832,69.731 6.442,68.944 6.442,68.058 C6.442,67.176 6.832,66.386 7.445,65.845 L33.336,65.845 C34.557,65.845 35.551,66.837 35.551,68.058 Z" id="Path"></path>
                <path d="M43.313,16.84 C46.693,26.327 44.738,36.233 41.85,43.891 C43.994,29.097 40.772,19.974 37.382,14.739 C34.325,10.015 30.736,7.65 28.842,6.649 C29.167,6.295 29.262,5.783 29.071,5.334 C28.865,4.85 28.372,4.55 27.851,4.583 C25.68,4.728 24.031,5.518 22.804,6.534 L22.804,0.46 C28.301,0.73 38.445,3.177 43.313,16.84 Z" id="Path"></path>
                <path d="M38.675,85.528 L3.317,85.528 L3.317,83.25 C3.317,81.099 4.504,79.224 6.256,78.235 L33.661,78.235 C36.425,78.235 38.675,80.484 38.675,83.25 L38.675,85.528 Z" id="Path"></path>
                <path d="M6.43,39.302 C6.418,39.323 6.411,39.346 6.4,39.368 C6.379,39.408 6.359,39.449 6.343,39.491 C6.329,39.529 6.319,39.567 6.308,39.605 C6.298,39.643 6.287,39.681 6.281,39.721 C6.274,39.765 6.27,39.81 6.268,39.855 C6.267,39.879 6.261,39.903 6.261,39.928 L6.258,44.745 L3.643,44.745 C3.231,44.483 2.827,44.159 2.437,43.77 C1.192,42.523 0.291,40.781 0.292,39.627 C0.292,39.351 0.51,38.915 0.721,38.494 C0.846,38.244 0.972,37.99 1.084,37.71 C7.612,18.115 16.632,11.991 16.722,11.931 C16.735,11.923 16.748,11.913 16.76,11.904 C16.778,11.89 18.169,10.794 20.319,9.887 C20.154,10.283 20.031,10.657 19.957,10.979 C19.806,11.643 20.219,12.299 20.881,12.454 C21.545,12.61 22.207,12.197 22.365,11.536 C22.396,11.403 23.016,8.953 25.447,7.723 C25.317,8.254 25.264,8.846 25.343,9.485 C25.346,9.509 25.352,9.531 25.356,9.554 C25.379,9.724 25.407,9.895 25.451,10.072 C25.863,11.718 25.443,12.088 24.532,12.704 C23.968,13.087 23.818,13.855 24.201,14.421 C24.44,14.774 24.829,14.963 25.225,14.963 C25.463,14.963 25.704,14.895 25.916,14.751 C27.006,14.014 27.974,13.084 28.064,11.393 C30.499,12.997 33.229,16.39 34.988,20.184 C41.806,34.897 35.674,54.684 34.238,58.865 L30.061,58.865 C29.378,58.865 28.825,59.418 28.825,60.101 C28.825,60.784 29.379,61.335 30.061,61.335 L32.1,61.335 L32.1,63.371 L10.921,63.371 L10.921,61.335 L15.231,61.335 C15.913,61.335 16.466,60.783 16.466,60.101 C16.466,59.417 15.913,58.865 15.231,58.865 L8.8,58.865 C8.7,57.133 9.476,53.285 16.425,48.113 C23.199,43.071 23.356,36.054 23.265,34.175 C28.08,32.307 31.523,27.448 31.523,21.762 C31.523,21.079 30.969,20.526 30.287,20.526 C29.605,20.526 29.051,21.079 29.051,21.762 C29.051,27.685 24.509,32.506 18.919,32.522 C18.224,32.493 10.532,32.33 6.43,39.302 Z" id="Path"></path>
            </g>
        </g>
    </g>
</svg>