Skip to content

Commit

Permalink
Initial commit of Barbarossa from some Abulafia eval files with changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nionita committed Apr 27, 2013
0 parents commit 3959d17
Show file tree
Hide file tree
Showing 6 changed files with 1,281 additions and 0 deletions.
74 changes: 74 additions & 0 deletions Barbarossa.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
-- Initial Barbarossa.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/

Name: Barbarossa
Version: 0.1
Synopsis: Chess engine in Haskell
-- description:
License: BSD3
License-file: LICENSE
Author: Nicu Ionita
Maintainer: [email protected]
Copyright: Nicu Ionita 2013
Category: Game
Build-type: Simple
Cabal-version: >=1.8

Flag Profile
Description: Enables profile support
Default: False

Executable Barbarossa
Main-is: Main/Barbarossa.hs
Build-depends: base >= 4.5, array, old-time, containers, mtl, parsec, vector,
random, stream-fusion, directory, transformers
GHC-Options: -O2 -Wall
-funbox-strict-fields -threaded -rtsopts
-fspec-constr-count=24
-funfolding-use-threshold=32
-ddump-simpl -ddump-to-file -dsuppress-all -dsuppress-uniques
-ddump-opt-cmm -ddump-asm
if flag(profile)
-- GHC-Options: -auto-all -with-rtsopts="-p -hc -smemop.txt"
else
-- GHC-Options: -with-rtsopts=-N2 -M256m -H128m
GHC-Options: -with-rtsopts=-N3

Executable FixPlayFen
Main-is: Main/MainFixPlayFen.hs
Build-depends: base >= 4.5, array, mtl, parsec, transformers, QuickCheck
GHC-Options: -O2 -Wall
-funbox-strict-fields -threaded -rtsopts
-fspec-constr-count=24
-funfolding-use-threshold=32
if flag(profile)
GHC-Options: -fprof-auto-top

{-
Executable BenchTransTab
Main-is: Tests/TestTransTab.hs
Build-depends: base >= 4, array, mtl, parsec, criterion, QuickCheck
GHC-Options: -O2 -Wall
-funbox-strict-fields
-fspec-constr-count=4 -funfolding-use-threshold=32

Executable VizGraph
Main-is: Main/VizGraph.hs
Build-depends: base >= 4
GHC-Options: -O2
CPP-Options: -DVIZTREE

Executable PlotEvolve
Main-is: Main/EvolveToPlot.hs
Build-depends: base >= 4, filepath, regex-compat

Executable Evolve
Main-is: Main/MainEvolve.hs
Build-depends: base >= 4, process, filepath, bytestring, old-locale, async
GHC-Options: -O2 -Wall -threaded -rtsopts

Executable CLOPDriver
Main-is: Main/MainCLOP.hs
Build-depends: base >= 4, process, filepath, bytestring, old-locale, async
GHC-Options: -O2 -Wall
-}
30 changes: 30 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Copyright (c) 2013, Nicu Ionita

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Nicu Ionita nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading

0 comments on commit 3959d17

Please sign in to comment.