Pair programming I-3d Checkers __ Programming

Source: Internet
Author: User

In accordance with the requirements of the course, I and xiaowei cooperation of the pair programming project-3D Checkers finally have a preliminary result. When you see a piece that works the way you want it to, you can finally sit down and write a little bit of experience.

First of all, this project has made me understand what pair programming is. Pair programming is not the two people do a good job of division, their own part. It requires two people to sit in front of the same computer and work together to complete the programming. In this process, we can face-to-face communication, thinking is more active, encountered problems can be resolved in a timely manner. At the same time, pairing programming can double-check the process of programming, and the probability of error is greatly reduced. Of course, it also has its own bad place. For example, when two people often disagree, in order to solve the problem sometimes may need to put both people's opinions to practice, which will reduce efficiency. However, on the other hand, different opinions will mean more possibilities, more can promote the collision and exchange of thinking.

Secondly, the process of the project is fraught with difficulties and excitement. In the beginning, everyone's time is always not up, so the project started late, almost all night to the Midnight Oil. When the project really started, because I had not learned C # and Silverlight before, there is a goal to learn new things, also let me feel a little excited. However, the project time is very short, there are some ideas have not been completed, but it is a small regret.

Now let me briefly introduce our 3D checkers game. The image below is the interface of our game. Because we choose 3D checkers, if only on the surface to go, the chance of jumping chess pieces is not, so eventually we chose to go in a cube inside space. Under this setting, using the mouse to control the movement of the pieces is not likely, so we only use the keyboard to control. But this control makes it hard for the pieces to walk. This is a problem that we need to solve in the future.

The rules of the game are as follows:

1. Press the left mouse button, up and down drag the mouse can change the 3-dimensional perspective, the mouse wheel can be scaled;

2. A,d; W,s; The q,e controls the movement of the cursor (the Blue square) on 3 axes respectively;

3. Space control Select the location of the blue squares, first select the pieces to go, and then select the target point can be moved, you can move the pieces;

4. The piece can only move to the adjacent position, if the position already has the piece, may skip this piece, and supports the multi-step jumps;

5. The return key can be replayed and F5.

Download Address: Https://sites.google.com/site/simple3dchinesechecker/home/3dchinesechecker.

Our pictures:

by Xiulian

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.