admin管理员组

文章数量:1533916

2024年3月17日发(作者:)

摘要

游戏“连连看”,只要将相同花色的两张牌用三根以内的直线连在一起就可

以消除,规则简单容易上手。这个程序的界面使用Jframe框架,主程序窗口包

含一个主面板,其中包含两个子面板,左边一层子面板是游戏窗口,符合我们玩

游戏的习惯,包含连连看游戏的图片元素,用户进行游戏能找到32对图片;右

边一层用来实现游戏控制,有开始、刷新、选择难度、显示分数、进度条等功能

选项。结合Java 编程语言的简单、面向对象、分布式、解释性、健壮、安全与

系统无关、可移植、高性能、多线程、动态和连连看游戏的休闲、趣味、益智加

上美观的界面设计和秀色可餐的水果蔬菜游戏图片元素,使这款连连看游戏成为

现代都市人们打发无聊,放松身心的好帮手。加入了游戏时间控制和过关控制及

进度条提示功能使游戏速度节奏快,画面清晰可爱,老少皆宜。通过ActionEvent

组件进行动作事件的监听和处理。游戏通过定义数组,根据一定的算法实现规定

的路径判断。

关键字:

Java连连看;Jframe;数组;路径判断

Abstract

The game "lianliankan", as long as the two cards with the same suit straight up to

three connected can be eliminated, rules are easy. This program of interface using

Jframe framework, main program window contains a a main panel, which contains

two a child Panel, left a layer child Panel is game window, meet we playing game of

habits, contains fest see game of pictures element, user for game can found 32 on

pictures; right a layer used to achieved game control, has began, and refresh, and

select difficulty, and displayed score, and progress article, features option. Combines a

simple Java programming language, object-oriented, distributed, interpreted, robust,

secure system-independent, portable, high-performance, multithreaded, dynamic and

lianliankan games, leisure, fun, puzzle together with attractive interface design and

appetizing fruit vegetables picture elements, makes this lianliankan games become the

modern city spending tedious, relaxed and good help. Joined the playing time control

and border control and progress bar prompts make the game faster tempo, clear

picture and lovely, both young and old. Action through the ActionEvent component

event listening and handling. Games by defining an array according to certain

algorithms provide path of judgment.

Key words

: Java Lianliankan ; Jframe ; array ; approaches

本文标签: 游戏控制图片进行