updates for custom code

allows user to set the piece colors instead of using the random option.