×

基于ARM和WinSock的多人对战游戏平台设计

消耗积分:0 | 格式:pdf | 大小:783 KB | 2011-04-12

liuxin

分享资料个

  具有多机互联对战功能的开放式便携游戏机具有广阔的应用价值和深远的发展空间。以SAMSUNG公司基于ARM920T的处理器S3C2410为核心,嵌入WinCE 5.0操作系统,在VS2008开发环境下创建智能设备MFC工程,并将在Win32环境下开发的单人/双人五子棋游戏进行代码移植,最终在ARM开发板上成功运行游戏。游戏开发基于Windows Sockets网络编程,能够实现ARM板与PC、ARM板与ARM板之间的游戏对战,可利用以太网接口互联,也可以通过无线局域网互联。该文以五子棋游戏为例,详述了硬件构建、游戏开发及移植的整个过程,极具借鉴价值。

  Abstract:

  The open portable game platform which supports multiplayer values a lot and has a wide room for development. Make use of the S3C2410 microprocessor based on ARM920T from SAMSUNG Inc as a core, with Windows CE 5.0 oprating system embedded. Firstly, create an MFC project for intelligent device under the Visual Studio 2008, then do the code migration of the single-and bi-player FIR(Five in a row) chess developed under the Win32 oprating system. Finally, it dose sucessfully on an ARM development board. The game is based on the Windows Socket network programming to realize the commuication between two players. It allows players to play the same game using a PC and an ARM development board, or two ARM development boards. Besides, they can be connected through the Ethernet line or the wireless local network. The article gives a whole course of how to construct the hardware platform, and how to develop a game including the code migration, with an example of FIR Chess, which has significant reference value.

 

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !