-
Notifications
You must be signed in to change notification settings - Fork 1
a small ruby lib for chess experiments
License
ander/passant
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Passant ======= A small ruby library for chess experiments. Requires are relative to lib/ so you have to add it to your load path one way or another. Examples ======== 1) Running the UI (wxruby >= 2.0.0 required) cd passant/lib ruby -rubygems passant.rb 2) Running via irb under lib/ irb(main):001:0> require 'passant/game_board' => true irb(main):002:0> b = Passant::GameBoard.new => rnbqkbnr pppppppp ........ ........ ........ ........ PPPPPPPP RNBQKBNR irb(main):003:0> b.move 'a4' => Pa2a4 irb(main):004:0> b => rnbqkbnr pppppppp ........ ........ P....... ........ .PPPPPPP RNBQKBNR irb(main):005:0>
About
a small ruby lib for chess experiments
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published