Skip to content

Instantly share code, notes, and snippets.

@pauldwhitman
Created March 11, 2013 02:37
Show Gist options
  • Select an option

  • Save pauldwhitman/5131552 to your computer and use it in GitHub Desktop.

Select an option

Save pauldwhitman/5131552 to your computer and use it in GitHub Desktop.
Part of the "Chess in C" blog post series. Additional macros used for breadcrumbs.
#define POTENTIAL_MOVE_KING 10
#define POTENTIAL_MOVE_QUEEN 20
#define POTENTIAL_MOVE_ROOK 30
#define POTENTIAL_MOVE_KNIGHT 40
#define POTENTIAL_MOVE_BISHOP 50
#define POTENTIAL_MOVE_PAWN 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment