Based on WIN32 API programming interface Huarong game

1 About the Game

Huarong is an ancient Chinese puzzle game, from "Cao Cao defeated Huarong, working with Guan every narrow road. Had only gratitude weight, let go golden dragon go," the story extended from. Huarong a chessboard twenty blocks composed of 4 * 5, the lower boundary of the intermediate outlet has a width of 2 squares, further comprising a large slider Cao represents 2 * 2, the slide 5 1 2 * Fab Five will blocks represent the small slider 4 1 1 * representative soldier. The purpose of the game is to use two spaces in the board 1 * 1 to move the slider all, is not allowed across the pieces, try to use the least number of steps, and finally to the top of Cao Cao surrounded successfully escape from exports. I remain the basis of "Crosses flew formation" on the beautification of the pattern of the slider, to borrow the popular game "Yin and Yang" the theme of this ancient game gives a new look.

2 Program features

A graphical user interface to provide a gaming platform under Win32, when the game starts, all the starting position of the slider is determined by the user clicks the mouse to select the slider, the slider selected will blink, blank mouse click, slide the block is moved to the corresponding position, it can only be moved one step.

 

 

Guess you like

Origin blog.csdn.net/asdJJkk/article/details/93377236