Draw a backgammon board with MFC for beginners

Updated on Game 2024-08-06
17 answers
  1. Anonymous users2024-02-15

    Generate ??? with Functions Dizzy.

    Draw it yourself, you can use ready-made ones, you should have them on the Internet, and of course you can use characters to combine;

    To add up, the so-called function generation might mean that the basic elements of the drawing are generated through ddraw, or the underlying win API.

  2. Anonymous users2024-02-14

    Draw it yourself, isn't it just a few straight lines?

    moveto

    lineto

    I've sent you a message.

  3. Anonymous users2024-02-13

    This has backgammon source code. In addition, you can chat online for details.

  4. Anonymous users2024-02-12

    Follow the instructions.

    Draw grids one by one.

    Arrange them neatly.

  5. Anonymous users2024-02-11

    Simple, draw a lattice. Hahaha.

  6. Anonymous users2024-02-10

    Send me a mailbox and I'll send you a complete program.

  7. Anonymous users2024-02-09

    Find the best resources for chessboards and chess pieces on the Internet, and present the chessboard and chess pieces in the form of stickers.

  8. Anonymous users2024-02-08

    This needs to create a form by yourself, the session box that comes with the win api does not support this function, the method is very complicated, you can make a dll, dll with win api to draw a window.

  9. Anonymous users2024-02-07

    First draw the grid with a brush, the distance between the grids should be determined, the circular area of each intersection point should be determined, after drawing the grid, calculate how many intersections, define how many areas, the location of the area has the grid intersection point, the distance between the intersection points and the radius of the area are determined, and then scan in the Zuo Jian message to determine which area the left mouse button falls on, and then display five subfigures in which area, and then judge the horizontal and longitudinal oblique eight directions to push out five points to see if there are five continuous, During this period, the left mouse button message should be blocked, and the message should be received after the judgment is over, and the message can be marked in the message processing.

  10. Anonymous users2024-02-06

    Partially implement the function, I don't know if it's suitable.

    public void mouseclicked(mouseevent e)

    else;judge();

  11. Anonymous users2024-02-05

    You can give a coordinate in the next function and he will display a chess piece bitmap, since the x and y coordinates of each chess piece are different by a fixed value, you can position each position to display a chess piece.

  12. Anonymous users2024-02-04

    Hello, can you give me a reference for your documents?

  13. Anonymous users2024-02-03

    Try it with the following ** after load.

    bitmap bitmap;;

  14. Anonymous users2024-02-02

    What is the purpose of this sentence?

  15. Anonymous users2024-02-01

    Add a member bool variable, whose value is used to control whether to use a white or black brush.

  16. Anonymous users2024-01-31

    cpaintdc dc(this);

    Draw circles with the ellipse() function.

    black_brush );Sunspot.

    Tong disadvantages; ellipse parameter check API

    There are a lot of online games such as the source of backgammon oak age code, there is an e-book of <>, which is very well written, and there are games on the Internet, which are learned in detail.

  17. Anonymous users2024-01-30

    MFC can't draw 3D graphics, draw 3D to adjust OpenGLIf you draw 2 dimensions of high fruit, you have to draw a circle with hail.

    Mouse response, enter "Add Window New Messages and Handles" in the class, and call the sail to select the event in the dialog window "New Windows Messages" (left-click and right-click...) Create the corresponding control function and add content.

Related questions
13 answers2024-08-06

This has backgammon source code. In addition, you can chat online for details.

13 answers2024-08-06

See if there's anything you're looking for

Lianzhu is currently the strongest. If there is a forbidden, Blackstone is stronger than him, Blackstone, but there is still a Blackstone. It's very troublesome to install and register, and I guess you won't be able to get it. I won't give it to LZ for you for the time being. >>>More

8 answers2024-08-06

There are forbidden hands. As long as the two players do not have a big difference in skill and do not make a big mistake, black will win. Even with a ban and a five-hand streak, black has a very, very big advantage. >>>More

7 answers2024-08-06

Nowadays, because of some highly intelligent Lianzhu software such as Terminator and Blackstone, it is impossible to completely block the use of software. The strength of the software mainly lies in its fast and comprehensive computing power, but the middle and rear disk and the overall picture are relatively weak. If you want to know if your opponent is using the software, you first need to know some of the common moves of the software, or use the software's fixed missed moves to beat it. >>>More

8 answers2024-08-06

You see that if you can make up five of them, you have to make them, because it's easy to happen by chance, hehe. >>>More