网上智力扑克系统的设计与开发
原站著录信息
摘要
摘要:Internet飞速发展的今天,网络已成为人们生活,学习,工作,娱乐的重要组成部分,网络游戏更是风靡全国,随着网络游戏的盛行,越来越多的人选择网络游戏做为学习、工作之余的消遣,尤其是网络棋牌游戏更是倍受青睐。基于此,本课题开发一套适合于娱乐消遣的在线扑克游戏。 本文对C/S模型,抽象窗口工具包AWT,Java网络编程,Java多线程编程,进行详细的描述,然后利用这些技术设计实现了一个基于C/S模型的网上智力扑克系统,该系统利用Socket编程实现了客户端和服务器之间的通信,服务器端使用多线程技术来实现对多个客…
摘要:Internet飞速发展的今天,网络已成为人们生活,学习,工作,娱乐的重要组成部分,网络游戏更是风靡全国,随着网络游戏的盛行,越来越多的人选择网络游戏做为学习、工作之余的消遣,尤其是网络棋牌游戏更是倍受青睐。基于此,本课题开发一套适合于娱乐消遣的在线扑克游戏。
本文对C/S模型,抽象窗口工具包AWT,Java网络编程,Java多线程编程,进行详细的描述,然后利用这些技术设计实现了一个基于C/S模型的网上智力扑克系统,该系统利用Socket编程实现了客户端和服务器之间的通信,服务器端使用多线程技术来实现对多个客户端的支持以及消息的处理和转发。客户端分别采用单独的线程实现了聊天和游戏功能,游戏时使用了BufferedImage类来加载扑克图片,并实现了随机洗牌算法,以及根据暗牌游戏规则进行游戏的算法。
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.
目录
1.绪论 1
2.技术背景 3
3.网上智力扑克系统的需求分析 14
4.网上智力扑克系统设计与实现 15
结论 26
致谢 27
参考文献 28
附录A 主要源程序 30
全文与附件
提交申请后,可在会员中心查看原件和附件的查找进度。
