Add missing license headers
This commit is contained in:
parent
1d6c74611b
commit
68c170568e
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue