diff --git a/Chess/nimfish/nimfish.nim b/Chess/nimfish/nimfish.nim index 6ff3445..ddbaeb4 100644 --- a/Chess/nimfish/nimfish.nim +++ b/Chess/nimfish/nimfish.nim @@ -21,9 +21,10 @@ import nimfishpkg/pieces import nimfishpkg/magics import nimfishpkg/rays import nimfishpkg/position +import nimfishpkg/board -export tui, misc, movegen, bitboards, moves, pieces, magics, rays, position +export tui, misc, movegen, bitboards, moves, pieces, magics, rays, position, board when isMainModule: diff --git a/Chess/nimfish/nimfishpkg/board.nim b/Chess/nimfish/nimfishpkg/board.nim index 36d5c6e..0359be0 100644 --- a/Chess/nimfish/nimfishpkg/board.nim +++ b/Chess/nimfish/nimfishpkg/board.nim @@ -1,3 +1,18 @@ +# Copyright 2024 Mattia Giambirtone & All Contributors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +## Implementation of a simple chessboard import std/strformat import std/strutils @@ -14,7 +29,6 @@ export pieces, position, bitboards, moves, magics, rays - type Chessboard* = ref object ## A chessboard