成语拼图游戏的开发与设计摘要 本文用 java 语言开发设计了成语拼图小游戏,此次设计运用可视化编程软件Eclipse 来制作,采用网格布局来设计操作的界面,给与每个网格添加鼠标监听事件,使其拥有点击交换功能。使用图片切割函数将图片进行切割并且将切割完毕的图片放置在每一个网格上。在网格的定义上采用了对象数组的形式,便于后期属性的调用。游戏主要模块为查看原图、图片重排以及计时挑战模式,并给游戏添加背景图片和背景音乐。关键词 JAVA 成语拼图游戏 可视化编程 点击交换Development and design of idiom puzzleAbstract In this paper, Java language is used to develop and design the idiom puzzle game. This design uses the visual programming software eclipse to make, uses the grid layout to design the operation interface, adds the mouse monitor event to each grid, and makes it have the click exchange function. Use the image cutting function to cut the image and place the cut image on each grid. In the definition of grid, the form of object array is adopted, which is convenient for the later property call. The main modules of the game are to view the original picture, picture rearrangement and timing challenge mode, and add background pictures and music to the game. KEY WORDS JAVA Idiom puzzle Visual programming Click exchange目 录引 言............................................................................11 系统概述................................................................................................................................................21.1 游戏定义..................................................................................................................................21.2 拼图游戏的类型........................................................................................................................21.2.1 树叶拼图.............................................................................................................