登录
首页 » C# » bobing

bobing

于 2011-12-23 发布 文件大小:31KB
0 169
下载积分: 1 下载次数: 7

代码说明:

  设计主要分两部分:博饼功能的实现和图形界面的生成。主要设计两个类,一个是Dice,记录骰子值,根据骰子值在指定位置绘制骰子。另一个类是Game,主要实现大致框体的绘制和博饼功能的实现。博饼功能主要用到伪随机函数。主函数用到两个线程,用来处理后台输入和骰子的循环输出。(Design main is divided into two parts: bo bread and the realization of the function of the generation of graphical interface. The main design two classes, one is the Dice, record the Dice value, according to the Dice in the location specified value draw Dice. Another kind is Game, mainly realizes the drawing of body roughly box beau and the realization of the function of bread. Bo bread function mainly use pseudo-random function. The main () function use two thread, used to deal with the background of the dice input and output cycle. )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Modem_source
    说明:  用数据库实现串口通讯的源代码,功能比较强大,值得一看。(database using serial communication source code, functions more powerful overseas.)
    2005-11-17 15:29:16下载
    积分:1
  • timy
    C51RF无线软件包,是一个不错的软件,和大家共享,(C51RF wireless package, is a good software, and everyone to share,)
    2019-01-04 00:11:14下载
    积分:1
  • SilverTreeContainer
    老外写的在WPF下显示树状结构的控件,包括 GraphLayout和Panel。(This article includes two very different basic assemblies and a couple of test assemblies for WPF. The first basic assembly is GraphLayout which implements the Reingold-Tilford algorithm, described here, to determine the placement of nodes in a tree structure. This tree is structured as a top down tree with the root at the top and the leaves at the bottom. This algorithm is entirely independent of any actual drawing of those nodes and so can be used for any purpose where such positioning is required. It includes options for vertical justification for nodes, collapsing of nodes, distance between sibling nodes and distance between non-sibling nodes. This assembly is not WPF specific and could easily be used to produce a GDI+ tree drawer (though I haven t included any here). It also includes a list of endpoints for lines which can be drawn as connectors between nodes. Currently, these lines are simply straight lines from the bottom center of the parent node to the top center of the child )
    2014-02-14 09:07:42下载
    积分:1
  • XGZP-CODE
    说明:  压力传感器xgzp6867iic读取程序(Pressure sensor xgzp6867iic reading program)
    2021-01-16 15:18:45下载
    积分:1
  • Comghbobox
    演示了vc控件Combobox的一些重要属性的设置和获取。(Combobox vc demonstrated some important properties of the control settings and access.)
    2011-05-28 17:37:02下载
    积分:1
  • dzshangwuweb
    电子商务的供求系统、宣传系统、跟踪查询系统、信息群发系统(the supply and demand of e-commerce systems, promotion systems, tracking inquiries, repeated information system)
    2007-02-10 07:49:11下载
    积分:1
  • c++设计模式_四人帮
    学习c 编程的了解设计模式,应该优先看此书,与java对比,还是有不少区别的,讲的也更透彻
    2020-12-06下载
    积分:1
  • flashdemo
    通过WINAPI实现的串口通信程序,有flash动画和丰富的按钮界面。(WINAPI achieved through serial communication procedures, flash animation and rich button interface.)
    2013-06-23 20:16:10下载
    积分:1
  • C6678_EMIF_test_package
    说明:  c6678 emif16 demo flash的读写操作(c6678 emif16 demo, dsp writes or reads flash through 16 bit emif)
    2020-04-20 20:25:58下载
    积分:1
  • CodeCtrlOdbc
    vc 代码控制链接ODBC的程序源码,希望对大家有所帮助(vc code control procedures linked ODBC source, we hope to help)
    2011-05-29 13:37:57下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载