您现在的位置:网站首页答辩论文计算机毕业设计计算机论文计算机软件

网上智力扑克系统的设计与实现

  • 简介:(毕业论文 页数:45 字数:15239  开题报告 任务书)网上智力扑克系统的设计与实现
    页数:45    字数:15239   
    • 请与管理员联系购买资料 QQ:5739126
  • 论文简介
  • 相关论文
  • 论文下载
(毕业论文 页数:45 字数:15239  开题报告 任务书)网上智力扑克系统的设计与实现
摘要:Internet飞速发展的今天,网络已成为人们生活,学习,工作,娱乐的重要组成部分,网络游戏更是风靡全国,随着网络游戏的盛行,越来越多的人选择网络游戏做为学习、工作之余的消遣,尤其是网络棋牌游戏更是倍受青睐。基于此,本课题开发一套适合于娱乐消遣的在线扑克游戏。
本文对C/S模型,抽象窗口工具包AWT,Java网络编程,Java多线程编程,进行详细的描述,然后利用这些技术设计实现了一个基于C/S模型的网上智力扑克系统,该系统利用Socket编程实现了客户端和服务器之间的通信,服务器端使用多线程技术来实现对多个客户端的支持以及消息的处理和转发。客户端分别采用单独的线程实现了聊天和游戏功能,游戏时使用了BufferedImage类来加载扑克图片,并实现了随机洗牌算法,以及根据暗牌游戏规则进行游戏的算法。

关键词:Eclipse;Thread;Socket;在线扑克;走牌;

ABSTRACT:With the rapid development of the Internet today, the network has become a important component of living, learning, work and Entertainment of everyone, network game is more and more popular throughout the country, with the growing popularity of online games, More and more people choose online games as the tool of entertainment after learning and work, In particular network Chess and Cards game is good graces. Because of this, in this topic I developed a online poker system with is suitable for entertainment.
In this article I have give a detailed description to the C/S model, abstract window tool bag (AWT), the Java network programming, the Java multithreading programming and Eclipse, then has realized network intelligence playing cards system using the Java language based on the C/S model, this system has realized the customer end and the server correspondence using the Socket programming, the server end use multithreading technology realizes to many customers end support. The customer end separately uses the independent line regulation realization to chat with the game function, used the BufferedImage kind increase the playing cards picture, and realized the algorithm of shuffle according to the random number,and the algorithm base on black card’s rule.

Key Word: Eclipse;Thread;Socket;Online Card;Move Card;

目录
1.绪论 1
课题背景及目地 1
国内在线扑克游戏的发展现状 1
2.技术背景 3
2.1 C/S结构简介 3
2.2抽象窗口工具包AWT简介 3
2.2.1、组件 4
2.2.2、容器 6
2.2.3布局管理器 6
2.3 Java多线程编程技术 7
2.3.1线程基础知识 7
2.3.2 线程安全类 7
2.3.3 死锁 8
2.4 网络编程 8
2.4.1 Internet网络模型 8
2.4.2 Java套接字编程 9
3.网上智力扑克系统的需求分析 14
3.1 系统采用的模式 14
3.2 服务器端需求分析 14
3.3 客户端需求分析 14
4.网上智力扑克系统设计与实现 15
4.1网上智力扑克系统设计概述 15
4.2网上智力扑克系统界面设计 15
4.2.1 服务器端界面设计 15
3.2.2 客户端界面设计 16
4.3网上智力扑克系统概要设计 19
4.3.1 服务器端概要设计 19
4.3.2 客户端概要设计 19
4.4网上智力扑克系统详细设计 21
4.4.1 服务器端详细设计 21
4.4.2 游戏面板详细设计 22
4.4.3 客户端详细设计 24
结论 26
致谢 27
参考文献 28
附录A 主要源程序 30

插图索引
图2. 1 INTERNET网络分层结构 9
图2. 2 SOCKET通信过程 10

图3. 1 服务器端用户界面 15
图3. 2 客户端界面 16
图3. 3 玩家列表 16
图3. 4聊天信息界面 17
图3. 5 客户端中心界面 17
图3. 6 游戏提示 18
图3. 7 游戏界面 18
图3. 8 聊天PANEL 18
图3. 9 控制PANEL 19

1.绪论
课题背景及目地
Internet飞速发展,网络已成为人们工作、生活、娱乐的重要组成部分。网络游戏更是风靡全国。在国内,在线扑克游戏蠢蠢欲动,目前有企业正在筹划成立一家在线扑克公司,这家正在计划与香港上市企业基业控股有限公司组建合资公司的在线扑克产品目前尚未得到批准。但一业内人士表示,鉴于目前存在一个庞大的地下赌博市场,因此,有关部门完全有理由为在线扑克系统提供合法渠道。据息,有大量资金通过狂热的赌徒流到了境外的赌场,近至澳门、缅甸、朝鲜,远至拉斯维加斯。有关学者和官员越来越热衷于寻找合法的相关途径,替代地下赌博。
这无疑是在线扑克系统的诞生的最好时机。基业控股公司董事长成之德表示,新公司交组织在线扑克和棋艺比赛,并为获胜者提供现金奖励。许多现代电脑游戏都是这种模式,并且已经得到有关部门的批准。他表示新合资公司将得到政府的全面许可,该公司将设立管理体系,以确保良好的游戏环境,并且会禁止儿童参赛。其次,随着网络游戏的盛行,越来越多的人选择网络游戏做为学习、工作之余的消遣,尤其是网络棋牌游戏倍受青睐。基于此,本课题将开发一套基于Java的集扑克和棋类游戏于一身的适合于娱乐消遣的网上智力扑克系统
查看评论 已有0位网友发表了看法
  • 验证码: