Jump to content

Tsukihime

Member
  • Content Count

    7,211
  • Joined

  • Last visited

  • Days Won

    84

Tsukihime last won the day on July 28

Tsukihime had the most liked content!

4 Followers

About Tsukihime

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    http://himeworks.com/

Profile Information

  • Gender
    Not Telling
  • Location
    Toronto

Recent Profile Visitors

60,840 profile views

Single Status Update

See all updates by Tsukihime

  1. Chess has some annoying rules lol castling and en passant... 

     

    1. Kayzee

      Kayzee

      Those rules really aren't that hard to figure out though. If you really want to have some fun? Try looking into fairy chess and see how many different fairy chess pieces you can add support for! I think it would be fun to make a sort of generic chess-like engine that could support different pieces.

    2. Tsukihime

      Tsukihime

      @Kayzee ya it's not hard. Just couple condition checks here and there.

       

      The real fun is when you want to build a custom chess engine with user-defined rules. For example, maybe bishop can only move up to 4 squares at a time.

       

      The way the chess engine is written is you have a bunch of pieces.

      1. Each piece has a "class" like queen/king/rook.

      2. Each class has a set of "move rules". A rook can "move forward up to 8 spaces" and "move backwards up to 8 spaces". It can also "move left up 8 spaces" and "move right up to 8 spaces"

       

      You could customize your own pieces by defining custom classes and adding separate move rules.

      So you want your bishop to be less OP? Maybe it can only move up to 3 squares at a time? No problem, just set the "distance" to 3.

      It can further be generalized to support special types of moves, but I haven't figured out how to do that yet. Knight moves, king castling, pawn double jump, etc.

    3. PhoenixSoul

      PhoenixSoul

      Or, Battalion/Double Chess. Four-player chess that has two Queens, which both have to be captured to win.

    4. Show next comments  3 more
×