注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
直接粘题了, 求米!!!!谢谢
"""
//Checkers Problem:
// Quick refresher on the rules of Checkers:
// - There are two kinds of pieces NORMAL pieces and QUEEN pieces. All pieces begin the game as NORMAL pieces.
// - NORMAL pieces may only move toward the opponents side of the board. Both NORMAL and QUEEN and can only move diagonally. If they are not capturing a piece they maidate state + action)
// 3) Write a method to check if a game is over (board as input -> bool over)
// We would like your solution to be runnable in coderpad
Class Board():
2d array [type char]: board
R, B, RQ, BQ
""" |