搜索资源列表
6
- 编写应用程序,定义一个5行3列的二维数组,给数组的每个元素赋10~100之间的随机值,显示二维数组每行的元素,并输出所有元素的和。-Build applications, define a five line 3 two dimensional array of gilead, to an array of each element fu between 10 to 100 random value, shows a 2 d array of each line of elements, and
Sanke
- 贪吃蛇游戏创建三个模块,分为Map,Sanke,Gui。Map类应用二维数组实现地图布局。Snake类主要运用GUI中监听Button按钮的颜色变化,来实现舍得移动和捕食。并在地图中随机出现食物。Gui通过键盘监听器使得蛇移动方向。此次项目让我感受到编程的乐趣!(Snake game to create three modules, divided into Map, Sanke, Gui. Map class uses 2D array to realize map layout. Snake