Chess.jl icon indicating copy to clipboard operation
Chess.jl copied to clipboard

Chess not working in REPL

Open PallHaraldsson opened this issue 5 years ago • 0 comments

I got it working outside, but in the REPL, I'm not sure the README works

julia> Chess.play()
ERROR: UndefVarError: play not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at ./Base.jl:13
 [2] top-level scope at REPL[52]:1

I think it's because include was commented out according to git blame:

https://github.com/abahm/Chess.jl/commit/4291efd67de3cc8668787e95d40e019e69502867

Not sure what you mean, also tried:

(v1.3) pkg> add "/home/pharaldsson_sym/chess/Chess.jl/src/Chess.jl"
   Cloning git-repo `/home/pharaldsson_sym/chess/Chess.jl/src/Chess.jl`
ERROR: failed to clone from /home/pharaldsson_sym/chess/Chess.jl/src/Chess.jl, error: GitError(Code:ERROR, Class:Net, unsupported URL protocol)

PallHaraldsson avatar Feb 19 '20 16:02 PallHaraldsson