Coder Social home page Coder Social logo

western-chess's Introduction

saint-yellow/western-chess

前端习作 #01: 国际象棋, HTML+CSS+jQuery

在线演示

https://saint-yellow.github.io/western-chess

截图演示

preview demo

目前已经完成的事

  • 布局
  • 单人对局
  • 各类棋子的走法
  • 简单的checkmate perception

    (注: 暂未支持士兵升格和王车易位)

以后可能会做的事

  • 优化代码
  • 胜负判定
  • 更准确的checkmate perception
  • 动画
  • 基于TypeScript的React化
  • 添加后端 (Flask/ASP.NET Core/...)
  • 双人对局
  • etc

启动

git clone https://github.com/saint-yellow/western-chess.git
cd western-chess
python -m http.server:6000

或者使用Visual Studio Code的Live Server插件启动该项目

更新

  • fix: 黑白双方每回合只能移动自己的一只棋子 (2020-03-23)
  • feature: 简单的胜负判定 (2020-03-25)

western-chess's People

Contributors

saint-yellow avatar imgbotapp avatar

Watchers

James Cloos avatar  avatar

Forkers

syjsu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.