GithubHelp home page GithubHelp logo

maksimkorzh / interactive-xiangqi-apps Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 14.65 MB

Embedded Xiangqi apps for http://www.xqinenglish.com/ website by Fang Hao Jian

JavaScript 97.76% HTML 2.24%

interactive-xiangqi-apps's Introduction

Interactive Xiangqi apps

It all has started from writing a Xiangqi engine.
Later I've adopted the apps based on it to fit Xiangqi in English website by Fang Hao Jian.
Now it's available for free use in 3rd party websites.

Code snippets to embed Xiangqi diagrams

See demo

<!-- Play board, no controls -->
<iframe id="inlineFrameExample"
  title="Inline Frame Example"
  width="272"
  height="302"
  style="border: 0px"
  src="https://maksimkorzh.github.io/interactive-xiangqi-apps/apps/play_online/gui/xiangqi.html">
</iframe>

<!-- Puzzle board, mate in 2 (mate in 1, 2, 3, 4, ? are available) -->
<iframe id="inlineFrameExample"
  title="Inline Frame Example"
  width="272"
  height="302"
  style="border: 0px"
  src="https://maksimkorzh.github.io/interactive-xiangqi-apps/apps/puzzle_solver/gui/puzzle_solver.html?mateIn=2">
</iframe>

<!-- Play board and controls -->
<iframe id="inlineFrameExample"
  title="Inline Frame Example"
  width="272"
  height="337"
  style="border: 0px"
  src="https://maksimkorzh.github.io/interactive-xiangqi-apps/apps/play_online/gui/xiangqi.html?controls">
</iframe>

<!-- Puzzle board and puzzle picker -->
<iframe id="inlineFrameExample"
  title="Inline Frame Example"
  width="272"
  height="338"
  style="border: 0px"
  src="https://maksimkorzh.github.io/interactive-xiangqi-apps/apps/puzzle_solver/gui/puzzle_solver.html?mateIn=3&pickPuzzle">
</iframe>

<!-- Play board, custom size (250 width min) and controls -->
<iframe id="inlineFrameExample"
  title="Inline Frame Example"
  width="373"
  height="449"
  style="border: 0px"
  src="https://maksimkorzh.github.io/interactive-xiangqi-apps/apps/play_online/gui/xiangqi.html?boardSize=350&controls">
</iframe>

<!-- Puzzle boars, custom size and puzzle picker -->
<iframe id="inlineFrameExample"
  title="Inline Frame Example"
  width="383"
  height="453"
  style="border: 0px"
  src="https://maksimkorzh.github.io/interactive-xiangqi-apps/apps/puzzle_solver/gui/puzzle_solver.html?boardSize=350&mateIn=3&pickPuzzle">
</iframe>

<!-- Play Xiangqi, developer version -->
<iframe id="inlineFrameExample"
  title="Inline Frame Example"
  width="425"
  height="600"
  style="border: 0px solid white"
  src="https://maksimkorzh.github.io/interactive-xiangqi-apps/apps/wukong-dev/gui/xiangqi.html">
</iframe>    

<!-- Game viewer, developer version -->
<iframe id="inlineFrameExample"
  title="Inline Frame Example"
  width="420"
  height="595"
  style="border: 0px solid white"
  src="https://maksimkorzh.github.io/wukong-xiangqi/apps/game_viewer/gui/game_viewer.html">
</iframe>

<!-- Play Xiangqi with WXF notation movelist -->
<iframe id="wukong-xiangqi"
  title="Wukong Xiangqi"
  width="580"
  height="525"
  style="border: 0px solid black"
  src="https://maksimkorzh.github.io/interactive-xiangqi-apps/apps/wukong-dev-ext/gui/xiangqi.html">
</iframe>

Contact developer

[email protected]

interactive-xiangqi-apps's People

Contributors

maksimkorzh avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

leobluuee

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.