Git Product home page Git Product logo

chess-inspector's Introduction

I record music and engineer software!

๐Ÿ’ก My on-line journal is https://ology.github.io/

โš™๏ธ My CPAN contributions are at https://metacpan.org/author/GENE

๐Ÿ™Œ Find me at https://fosstodon.org/@ology & https://musician.social/@ology

Musical things:

๐ŸŽต My latest streaming music and my first 2 releases - Check 'em out!

๐ŸŽถ https://soundcloud.com/gene-boggs-music/tracks - Freshly made tracks

๐Ÿฃ https://www.youtube.com/channel/UCDSfKNRIy1bs3k-pyHrEuag - My first release

๐Ÿ—œ๏ธ https://github.com/ology/MIDI-Perl-HOWTO/wiki - Creating algorithmic music


github stats

Top Langs

Streak

chess-inspector's People

Contributors

ology avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chess-inspector's Issues

Advice for getting this to run on Windows?

Hi! This program looks awesome; I had a similar idea a few years ago but got stuck on simulating the chess board and calculating the possible moves.

I use Windows and tried using MINGW64 to install the program, but got stuck on the cpan step; I think it's not working because MINGW64 doesn't have the 'make' command.

Ubuntu 18 advice?

I can't seem to figure out how to install the dependencies, or where to go to figure that out...

$ sudo cpan .
Loading internal logger. Log::Log4perl recommended for better logging
You are visiting the local directory
  '.'
  without lock, take care that concurrent processes do not do likewise.
Reading '/home/dand/.cpan/Metadata'
  Database was generated on Wed, 02 Jan 2019 20:54:20 GMT
You are visiting the local directory
  '/home/dand/Desktop/Chess-Inspector/.'
  without lock, take care that concurrent processes do not do likewise.
  /home/dand/Desktop/Chess-Inspector/.
  Has already been unwrapped into directory /home/dand/Desktop/Chess-Inspector/.
Configuring /home/dand/Desktop/Chess-Inspector/. with Makefile.PL
Warning: prerequisite List::Tuples 0 not found.
Generating a Unix-style Makefile
Writing Makefile for Chess::Inspector
Writing MYMETA.yml and MYMETA.json
Directory '/home/dand/Desktop/Chess-Inspector/.' not below /home/dand/.cpan/build, will not store persistent state
  /home/dand/Desktop/Chess-Inspector/.
  /usr/bin/perl Makefile.PL -- OK
Running make for /home/dand/Desktop/Chess-Inspector/.
---- Unsatisfied dependencies detected during ----
----   /home/dand/Desktop/Chess-Inspector/.   ----
    List::Tuples [requires]
Running install for module 'List::Tuples'
Checksum for /home/dand/.cpan/sources/authors/id/N/NK/NKH/List-Tuples-0.04.4.tar.gz ok
Configuring N/NK/NKH/List-Tuples-0.04.4.tar.gz with Build.PL
Checking prerequisites...
  requires:
    !  Carp::Diagnostics is not installed
  build_requires:
    !  Test::Block is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'List-Tuples' version '0.04'
  NKH/List-Tuples-0.04.4.tar.gz
  /usr/bin/perl Build.PL -- OK
Running Build for N/NK/NKH/List-Tuples-0.04.4.tar.gz
---- Unsatisfied dependencies detected during ----
----       NKH/List-Tuples-0.04.4.tar.gz      ----
    Carp::Diagnostics [requires]
    Test::Block [build_requires]
Running install for module 'Carp::Diagnostics'
Checksum for /home/dand/.cpan/sources/authors/id/N/NK/NKH/Carp-Diagnostics-0.05.3.tar.gz ok
Configuring N/NK/NKH/Carp-Diagnostics-0.05.3.tar.gz with Build.PL
Checking prerequisites...
  requires:
    !  Test::Block is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Carp-Diagnostics' version '0.05'
  NKH/Carp-Diagnostics-0.05.3.tar.gz
  /usr/bin/perl Build.PL -- OK
Running Build for N/NK/NKH/Carp-Diagnostics-0.05.3.tar.gz
---- Unsatisfied dependencies detected during ----
----    NKH/Carp-Diagnostics-0.05.3.tar.gz    ----
    Test::Block [requires]
Running install for module 'Test::Block'
Checksum for /home/dand/.cpan/sources/authors/id/A/AD/ADIE/Test-Block-0.13.tar.gz ok
Configuring A/AD/ADIE/Test-Block-0.13.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Test-Block' version '0.13'
  ADIE/Test-Block-0.13.tar.gz
  /usr/bin/perl Build.PL -- OK
Running Build for A/AD/ADIE/Test-Block-0.13.tar.gz
Building Test-Block
  ADIE/Test-Block-0.13.tar.gz
  ./Build -- OK
Running Build test for ADIE/Test-Block-0.13.tar.gz
t/all_in_block.t ... ok
t/bad_args.t ....... ok
t/block.t .......... 1/6
#   Failed test 'too few tests'
#   at t/block.t line 22.
# STDERR is:
# > #   Failed test 'block 2 expected 2 test(s) and ran 1'
# > #   at t/block.t line 20.
# not:
# > /#\s+Failed\ test.*?\n?.*?at\ t\/block\.t line 19.*\n?/
# >
# as expected

#   Failed test 'too many tests'
#   at t/block.t line 34.
# STDERR is:
# > #   Failed test 'block 3 expected 1 test(s) and ran 2'
# > #   at t/block.t line 32.
# not:
# > /#\s+Failed\ test.*?\n?.*?at\ t\/block\.t line 30.*\n?/
# >
# as expected

#   Failed test 'named block'
#   at t/block.t line 65.
# STDERR is:
# > #   Failed test 'block 'foo' expected 2 test(s) and ran 1'
# > #   at t/block.t line 63.
# not:
# > /#\s+Failed\ test.*?\n?.*?at\ t\/block\.t line 62.*\n?/
# >
# as expected
t/block.t .......... Failed 3/6 subtests
t/class_methods.t .. ok
t/import.t ......... ok
t/variable.t ....... 1/1
#   Failed test '$Test::Block::Plan'
#   at t/variable.t line 23.
# STDERR is:
# > #   Failed test 'block 'inner' expected 1 test(s) and ran 0'
# > #   at /usr/share/perl/5.26/Tie/Scalar.pm line 157.
# not:
# > /#\s+Failed\ test.*?\n?.*?at\ t\/variable\.t line 17.*\n?/
# >
# as expected
t/variable.t ....... Failed 1/1 subtests

Test Summary Report
-------------------
t/block.t        (Wstat: 0 Tests: 6 Failed: 3)
  Failed tests:  2-3, 6
t/variable.t     (Wstat: 0 Tests: 1 Failed: 1)
  Failed test:  1
Files=6, Tests=26,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.29 cusr  0.04 csys =  0.36 CPU)
Result: FAIL
Failed 2/6 test programs. 4/26 subtests failed.
  ADIE/Test-Block-0.13.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports ADIE/Test-Block-0.13.tar.gz
  NKH/Carp-Diagnostics-0.05.3.tar.gz
  Has already been unwrapped into directory /home/dand/.cpan/build/Carp-Diagnostics-0.05.3-1
  NKH/Carp-Diagnostics-0.05.3.tar.gz
  Has already been prepared
Running Build for N/NK/NKH/Carp-Diagnostics-0.05.3.tar.gz
Warning: Prerequisite 'Test::Block => 0' for 'NKH/Carp-Diagnostics-0.05.3.tar.gz' failed when processing 'ADIE/Test-Block-0.13.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
Building Carp-Diagnostics
Warning: AutoSplit had to create top-level blib/lib/auto unexpectedly.
  NKH/Carp-Diagnostics-0.05.3.tar.gz
  ./Build -- OK
Running Build test for NKH/Carp-Diagnostics-0.05.3.tar.gz
t/001_load.t ......... ok
t/004_diagnostics.t .. Can't locate Test/Block.pm in @INC (you may need to install the Test::Block module) (@INC contains: /home/dand/.cpan/build/Carp-Diagnostics-0.05.3-1/blib/lib /home/dand/.cpan/build/Carp-Diagnostics-0.05.3-1/blib/arch /home/dand/.cpan/build/Carp-Diagnostics-0.05.3-1/_build/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at t/004_diagnostics.t line 11.
BEGIN failed--compilation aborted at t/004_diagnostics.t line 11.
t/004_diagnostics.t .. 1/? # Looks like your test exited with 2 just after 1.
t/004_diagnostics.t .. Dubious, test returned 2 (wstat 512, 0x200)
All 1 subtests passed
t/005_arguments.t .... Can't locate Test/Block.pm in @INC (you may need to install the Test::Block module) (@INC contains: /home/dand/.cpan/build/Carp-Diagnostics-0.05.3-1/blib/lib /home/dand/.cpan/build/Carp-Diagnostics-0.05.3-1/blib/arch /home/dand/.cpan/build/Carp-Diagnostics-0.05.3-1/_build/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at t/005_arguments.t line 11.
BEGIN failed--compilation aborted at t/005_arguments.t line 11.
t/005_arguments.t .... 1/? # Looks like your test exited with 2 just after 1.
t/005_arguments.t .... Dubious, test returned 2 (wstat 512, 0x200)
All 1 subtests passed

Test Summary Report
-------------------
t/004_diagnostics.t (Wstat: 512 Tests: 1 Failed: 0)
  Non-zero exit status: 2
t/005_arguments.t  (Wstat: 512 Tests: 1 Failed: 0)
  Non-zero exit status: 2
Files=3, Tests=4,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.19 cusr  0.02 csys =  0.24 CPU)
Result: FAIL
Failed 2/3 test programs. 0/4 subtests failed.
  NKH/Carp-Diagnostics-0.05.3.tar.gz
one dependency not OK (Test::Block); additionally test harness failed
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports NKH/Carp-Diagnostics-0.05.3.tar.gz
Running install for module 'Test::Block'
  ADIE/Test-Block-0.13.tar.gz
  Has already been unwrapped into directory /home/dand/.cpan/build/Test-Block-0.13-1
  ADIE/Test-Block-0.13.tar.gz
  Has already been prepared
  ADIE/Test-Block-0.13.tar.gz
  Has already been made
  ADIE/Test-Block-0.13.tar.gz
  Won't repeat unsuccessful test during this command
  NKH/List-Tuples-0.04.4.tar.gz
  Has already been unwrapped into directory /home/dand/.cpan/build/List-Tuples-0.04.4-1
  NKH/List-Tuples-0.04.4.tar.gz
  Has already been prepared
Running Build for N/NK/NKH/List-Tuples-0.04.4.tar.gz
Warning: Prerequisite 'Carp::Diagnostics => 0' for 'NKH/List-Tuples-0.04.4.tar.gz' failed when processing 'NKH/Carp-Diagnostics-0.05.3.tar.gz' with 'make_test => NO one dependency not OK (Test::Block); additionally test harness failed'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Test::Block => 0' for 'NKH/List-Tuples-0.04.4.tar.gz' failed when processing 'ADIE/Test-Block-0.13.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
Building List-Tuples
Warning: AutoSplit had to create top-level blib/lib/auto unexpectedly.
  NKH/List-Tuples-0.04.4.tar.gz
  ./Build -- OK
Running Build test for NKH/List-Tuples-0.04.4.tar.gz
t/001_load.t .... 1/?
#   Failed test 'use List::Tuples;'
#   at t/001_load.t line 12.
#     Tried to use 'List::Tuples'.
#     Error:  Can't locate Carp/Diagnostics.pm in @INC (you may need to install the Carp::Diagnostics module) (@INC contains: /home/dand/.cpan/build/List-Tuples-0.04.4-1/blib/lib /home/dand/.cpan/build/List-Tuples-0.04.4-1/blib/arch /home/dand/.cpan/build/List-Tuples-0.04.4-1/_build/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/dand/.cpan/build/List-Tuples-0.04.4-1/blib/lib/List/Tuples.pm line 25.
# BEGIN failed--compilation aborted at /home/dand/.cpan/build/List-Tuples-0.04.4-1/blib/lib/List/Tuples.pm line 25.
# Compilation failed in require at t/001_load.t line 12.
# BEGIN failed--compilation aborted at t/001_load.t line 12.
Bailout called.  Further testing stopped:  Can't load module
FAILED--Further testing stopped: Can't load module
  NKH/List-Tuples-0.04.4.tar.gz
2 dependencies missing (Carp::Diagnostics,Test::Block); additionally test harness failed
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports NKH/List-Tuples-0.04.4.tar.gz
  /home/dand/Desktop/Chess-Inspector/.
  Has already been unwrapped into directory /home/dand/Desktop/Chess-Inspector/.
  /home/dand/Desktop/Chess-Inspector/.
  Has already been prepared
Running make for /home/dand/Desktop/Chess-Inspector/.
Warning: Prerequisite 'List::Tuples => 0' for '/home/dand/Desktop/Chess-Inspector/.' failed when processing 'NKH/List-Tuples-0.04.4.tar.gz' with 'make_test => NO 2 dependencies missing (Carp::Diagnostics,Test::Block); additionally test harness failed'. Continuing, but chances to succeed are limited.
Skip blib/lib/Chess/Inspector.pm (unchanged)
Manifying 1 pod document
  /home/dand/Desktop/Chess-Inspector/.
  /usr/bin/make -- OK
Running make test for /home/dand/Desktop/Chess-Inspector/.
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_base.t ......... 1/1
#   Failed test 'use Chess::Inspector;'
#   at t/001_base.t line 5.
#     Tried to use 'Chess::Inspector'.
#     Error:  Can't locate List/Tuples.pm in @INC (you may need to install the List::Tuples module) (@INC contains: /home/dand/Desktop/Chess-Inspector/blib/lib /home/dand/Desktop/Chess-Inspector/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/dand/Desktop/Chess-Inspector/blib/lib/Chess/Inspector.pm line 10.
# BEGIN failed--compilation aborted at /home/dand/Desktop/Chess-Inspector/blib/lib/Chess/Inspector.pm line 10.
# Compilation failed in require at t/001_base.t line 5.
# BEGIN failed--compilation aborted at t/001_base.t line 5.
# Looks like you failed 1 test of 1.
t/001_base.t ......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/002_index_route.t .. Can't locate List/Tuples.pm in @INC (you may need to install the List::Tuples module) (@INC contains: /home/dand/Desktop/Chess-Inspector/blib/lib /home/dand/Desktop/Chess-Inspector/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/dand/Desktop/Chess-Inspector/blib/lib/Chess/Inspector.pm line 10.
BEGIN failed--compilation aborted at /home/dand/Desktop/Chess-Inspector/blib/lib/Chess/Inspector.pm line 10.
Compilation failed in require at t/002_index_route.t line 6.
BEGIN failed--compilation aborted at t/002_index_route.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/002_index_route.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests

Test Summary Report
-------------------
t/001_base.t       (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/002_index_route.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
Files=2, Tests=1,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.35 cusr  0.02 csys =  0.40 CPU)
Result: FAIL
Failed 2/2 test programs. 1/1 subtests failed.
Makefile:843: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 2
  /home/dand/Desktop/Chess-Inspector/.
one dependency not OK (List::Tuples); additionally test harness failed
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports /home/dand/Desktop/Chess-Inspector/.

Custom Game

Hi,

Can we analyze custom games by setting up board positions?

Robin

Installation Instructions

Hi,
Could you give the installation instructions in the readme? Specifically for OS X.

Thanks
Robin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.