Skip to content

Instantly share code, notes, and snippets.

@cnd
Created December 14, 2012 07:47
Show Gist options
  • Save cnd/4283489 to your computer and use it in GitHub Desktop.
Save cnd/4283489 to your computer and use it in GitHub Desktop.
F# 3.0 FROM THE BOX ON GENTOO
App.config TeAI.fs TeAIChess.fsproj TeAIConsole.fs TeAIHelpers.fs TeAIModel.fs
>>xbuild TeAIChess.fsproj ~/contrib/fchess/src/ :)
XBuild Engine Version 3.0.1.0
Mono, Version 3.0.1.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
Build started 12/14/2012 11:46:26.
__________________________________________________
Project "/home/nen/contrib/fchess/src/TeAIChess.fsproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: x86
Created directory "bin/Debug/"
Created directory "obj/x86/Debug/"
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target CoreCompile:
Tool /usr/lib/pkgconfig/../../lib/mono//4.0/fsc.exe execution started with arguments: -o:obj/x86/Debug/TeAIChess.exe -g --debug:full --noframework --define:DEBUG --define:TRACE --doc:bin/Debug/TeAIChess.XML --optimize- --tailcalls- --platform:x86 -r:/usr/lib/mono/4.5/mscorlib.dll -r:/usr/lib/mono/4.5/System.dll -r:/usr/lib/mono/4.5/System.Numerics.dll -r:/usr/lib/mono/4.5/System.Core.dll --target:exe --warn:3 --warnaserror:76 --fullpaths --flaterrors --highentropyva- TeAIHelpers.fs TeAIModel.fs TeAI.fs TeAIConsole.fs
F# Compiler for F# 3.0 (Open Source Edition)
Freely distributed under the Apache 2.0 Open Source License
Target _CopyDeployFilesToOutputDirectoryAlways:
Copying file from '/home/nen/contrib/fchess/src/App.config' to '/home/nen/contrib/fchess/src/bin/Debug/App.config'
Target _CopyAppConfigFile:
Copying file from '/home/nen/contrib/fchess/src/App.config' to '/home/nen/contrib/fchess/src/bin/Debug/TeAIChess.exe.config'
Target DeployOutputFiles:
Copying file from '/home/nen/contrib/fchess/src/obj/x86/Debug/TeAIChess.exe.mdb' to '/home/nen/contrib/fchess/src/bin/Debug/TeAIChess.exe.mdb'
Copying file from '/home/nen/contrib/fchess/src/obj/x86/Debug/TeAIChess.exe' to '/home/nen/contrib/fchess/src/bin/Debug/TeAIChess.exe'
Done building project "/home/nen/contrib/fchess/src/TeAIChess.fsproj".
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:07.5385160
>>ls ~/contrib/fchess/src/ :)
bin/ obj/ App.config TeAI.fs TeAIChess.fsproj TeAIConsole.fs TeAIHelpers.fs TeAIModel.fs
>>mono bin/Debug/TeAIChess.exe ~/contrib/fchess/src/ :)
User@TeAIChess# ls
| Rook |Knight|Bishop| King |Queen |Bishop|Knight| Rook |
| Pawn | Pawn | Pawn | Pawn | Pawn | Pawn | Pawn | Pawn |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| Pawn | Pawn | Pawn | Pawn | Pawn | Pawn | Pawn | Pawn |
| Rook |Knight|Bishop| King |Queen |Bishop|Knight| Rook |
User@TeAIChess# ai
F2 | Pawn -> F4 | Cleaned
| Rook |Knight|Bishop| King |Queen |Bishop|Knight| Rook |
| Pawn | Pawn | | Pawn | Pawn | Pawn | Pawn | Pawn |
| | | | | | | | |
| | | Pawn | | | | | |
| | | | | | | | |
| | | | | | | | |
| Pawn | Pawn | Pawn | Pawn | Pawn | Pawn | Pawn | Pawn |
| Rook |Knight|Bishop| King |Queen |Bishop|Knight| Rook |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment