# Chess Video Game


# Rules of the game to be implemented

This chess game will implement a subset of the rules of chess, including:
1.The initial setup as defined in the Rules of Chess Wikipedia page.
2.All the basic moves.
3.The game ends when a king is captured or one player resigns.
4.Note that the notation for the coordinates is different in our game. The original game is a to h on the X axis (left to right) and 8 to 1 on the Y axis (top to bottom), while in our case the latter should be 1 to 8 from the top to the bottom.

For example, a simple implementation of this might look as follows:

# 国际象棋电子游戏


# 需要实现的游戏规则

本国际象棋游戏将实现国际象棋规则中的一部分,包括:
1. 按照维基百科 “国际象棋规则” 页面中定义的初始布局摆放棋子。
2. 所有基本走法。
3. 当一方的王被吃掉或有一方玩家认输时,游戏结束。
4. 注意,本游戏的坐标表示法与原版不同。原版中 X 轴(从左到右)为 a 到 h,Y 轴(从上到下)为 8 到 1;而在我们的版本中,Y 轴应为从上到下 1 到 8。

例如,一个简单的实现效果大致如下:

Edited on

Give me a cup of [coffee]~( ̄▽ ̄)~*请我喝[茶]~( ̄▽ ̄)~*

Ruyi Zhang WeChat Pay

WeChat Pay

Ruyi Zhang Alipay

Alipay

Ruyi Zhang PayPal

PayPal