Skip to content
View ddugovic's full-sized avatar
💭
I may be slow to respond.
💭
I may be slow to respond.
Block or Report

Block or report ddugovic

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. lishogi lishogi Public

    Forked from WandererXII/lishogi

    lishogi.org: the forever free, adless and open source shogi server forked from lichess.org

    Scala

  2. Tellmarch/playshogi Tellmarch/playshogi Public

    Java 8 4

  3. chess-o-tron chess-o-tron Public

    Forked from tailuge/chess-o-tron

    Chess experiments

    JavaScript

  4. Encodes pawns as a bitwise-AND-compa... Encodes pawns as a bitwise-AND-comparable index (from a SFEN)
    1
    # Encodes pawns as a bitwise-AND-comparable index (from a SFEN)
    2
    # Usage: ruby pawn_encoder.rb "lnsgkgsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1B5R1/LNSGKGSNL"
    3
    def encode(fen)
    4
      board = fen.gsub("9"," 8").gsub("8"," 7").gsub("7"," 6").gsub("6"," 5").gsub("5"," 4").gsub("4"," 3").gsub("3"," 2").gsub("2"," 1").gsub("1"," ")
    5
      # replace 'P' with '1' and replace 'p' with '1'