登录
首页 » Java » 2048游戏代码

2048游戏代码

于 2022-02-15 发布 文件大小:10.21 kB
0 46
下载积分: 2 下载次数: 1

代码说明:

经典小游戏,可用作正在学习java的朋友们一个实例,算法很简单,相信会对你对java的学习有一些帮助。

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

发表评论

0 个回复

  • android 微信分享示例代码
    不错的demo,大家可以借鉴一下
    2015-04-21下载
    积分:1
  • android联系人带字母检索源码
    android联系人带字母检索源码/** * 联系人列表适配器。 * * @author guolin */public class ContactAdapter extends ArrayAdapter { /** * 需要渲染的item布局文件 */ private int resource; /** * 字母表分组工具 */ private SectionIndexer mIndexer; public ContactAdapter(Context context, int textViewResourceId, List objects) { super(context, textViewResourceId, objects); resource = textViewResourceId; } @Override public View getView(int position, View convertView, ViewGroup parent) { Contact contact = getItem(position); LinearLayout layout = null; if (convertView == null) { layout = (LinearLayout) LayoutInflater.from(getContext()).inflate(resource, null); } else { layout = (LinearLayout) convertView; } TextView name = (TextView) layout.findViewById(R.id.name); LinearLayout sortKeyLayout = (LinearLayout) layout.findViewById(R.id.sort_key_layout); TextView sortKey = (TextView) layout.findViewById(R.id.sort_key); name.setText(contact.getName()); int section = mIndexer.getSectionForPosition(position); if (position == mIndexer.getPositionForSection(section)) { sortKey.setText(contact.getSortKey()); sortKeyLayout.setVisibility(View.VISIBLE); } else { sortKeyLayout.setVisibility(View.GONE); } return layout; } /** * 给当前适配器传入一个分组工具。 * * @param indexer */ public void setIndexer(SectionIndexer indexer) { mIndexer = indexer; }}
    2014-04-13下载
    积分:1
  • 购物系统
    非常简单的系统,基于JSP的网上购物系统,非常详细的代码需要添加东西,搭建好运行环境后才能运行
    2022-05-25 06:29:51下载
    积分:1
  • 一个简单的语义检索框架,实现了简单的查询界面,提交查询请求,处理查询扩展,简单搜索,推理,可以进一步的扩展。最初没有结果是因为没有添加待检索数据,添加数据后即会...
    一个简单的语义检索框架,实现了简单的查询界面,提交查询请求,处理查询扩展,简单搜索,推理,可以进一步的扩展。最初没有结果是因为没有添加待检索数据,添加数据后即会有结果。-a simple semantic retrieval framework to achieve a simple query interface, the author inquiry request, to handle inquiries expansion simple search, reasoning, can be further expanded. Initially no results because it is not added to retrieval of data, add the data after the yield results.
    2022-12-18 02:30:02下载
    积分:1
  • user_management
    用户管理系统,可以从文件中读取,也可以从数组中读取。DB的读取方式没写全(User management system that can read from the document can also be read from the array. DB did not write the way of reading the entire)
    2009-05-03 17:20:33下载
    积分:1
  • 进程调度时间片轮转算法窗口化实现
    模拟实现了时间片轮转算法的动态调度,利用简单的窗口进行演示
    2023-05-02 14:20:03下载
    积分:1
  • test
    just for test and pls delete it.May upload some useful doc. later. Ta!
    2009-11-03 08:22:46下载
    积分:1
  • compute
    java做的计算器,JFrame,自己做的作业,有需要的下载(java calculator to do, JFrame, do their own work, there is a need to download)
    2010-10-10 21:31:21下载
    积分:1
  • CaptureDevice
    Capture the statemnet of device, such as CPU, RAM, HD, Network, and etc.
    2008-09-22 10:59:25下载
    积分:1
  • 算盘的应用程序
    JAVA 应用程序的 android 手机。应用程序输入-触摸 screenSimulates 算盘,使同样的学习更容易。有几个地方
    2022-03-15 16:29:52下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载