Web gadgets (learning Chinese chess)

Source: Internet
Author: User
Preface has recently become infatuated with Chinese chess (hereinafter referred to as chess), but he is helpless in his low level, that is, what we call the "Smelly chess building", so he wants to study chess well. Method 1: Looking at the game spectrum, I can't help but see the game spectrum dizzy. What is "Ma qijin" and what is "Car 6 in 5 "? After I understand what these are, I have to practice on the board. Method 2: watch videos, watch some video tutorials on the website, and compete. Method 3: Make a small tool, look intuitive, and facilitate research- Program Personnel, of course. I wanted to see if there is anything better on the Internet? In the end, I found that it was not ideal. I decided to have fun on my own. Introduction to the address attached here: http://www.test-life.org/chess/ this tool at first glance, will think of as a game, but not, just a play tool! It's not surprising that you are doing a rough job.

 

Overview
The structure is divided into four modules: chessboard, board chart, data, and terminology. -- The information is being added.
The topic of the checkerboard area displays the corresponding title based on the selected score. Current Mode: it can be divided into common mode, user trial, and automatic go chess. Corresponds to the button in the lower right corner. If you manually control the player, the player is displayed in the upper-right corner. You can use either of the following methods to return a score. The first method is layout start, rollback, forward, and end. Method 2: directly click the area where you want to view the score, and the score area and board area will be updated accordingly. For simplicity, I didn't use databases to store these games. It was too troublesome and I tried to simplify the program. So I used two files, one of which is index. PHP (rendering), one is config. PHP (configuration file ). This forms a simple program. View the chess chart data config. php: the terms are often heard if you are familiar with chess! -- Now all players give beautiful and vivid names. In summary, I am still in the cainiao stage and hope to become a master. If anyone is interested, you can download it here: SVN checkout HTTP : // My-study-chess.googlecode.com/svn/trunk/ my-study-chess-read-only Recommendation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.