aboutsummaryrefslogtreecommitdiff
path: root/git@git.thomasvoss.com:draughts
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2022-01-09 23:32:40 +0100
committerThomas Voss <thomasvoss@live.com> 2022-01-09 23:32:40 +0100
commit3dc9f6d09da4eafc989e2775254315064c603d79 (patch)
treebcdd95a8d57e9a5c49476e1ec4bd7003683b7f5a /git@git.thomasvoss.com:draughts
parent2a1bf9bf871ff0354f05fa8cdfdfe11cc3bfad2f (diff)
Add a Color enumeration
This enumeration represents the two colors of the pieces on the board, it should allow you to refer to a color as `Color.BLUE' or `Color.RED' as opposed to having to use strings or random numbers or whatever. It also means that if for whatever reason we decide to flip the positions of blue and red or something similiar, it should be a very quick and easy fix.
Diffstat (limited to 'git@git.thomasvoss.com:draughts')
0 files changed, 0 insertions, 0 deletions