登录
首页 » Android » 可以联网中国象棋Android源码

可以联网中国象棋Android源码

于 2022-03-11 发布 文件大小:8.17 MB
0 68
下载积分: 2 下载次数: 1

代码说明:

基于安卓的象棋项目源码,为联网游戏而设计的。配有java服务端,不过只能单开。我没有测试具体的功能,感兴趣的可以自己链接数据库试试吧。下面是运行指南和开发设计文档。 本源码分为客户端和服务端 客户端编译即可运行,socket连接为:127.0.0.1:9898 运行服务端时,需要使用MySQL建表,建表语句如下: create database chinachess;  use chinachess;  create table user( id int primary key auto_increment,  name char(10) unique not null, password char(16) not null, head int default 0, score int default 0, victory_count int default 0, defeat_count int default 0, draw_count int default 0, join_time datetime ) charset utf8 collate utf8_general_ci; 服务端DbUtil.java里面有连接数据库的配置 功能  1:登陆  2.注册  3.消息  4:匹配游戏  5:走棋  6:求和  7:同意求和  * 8:悔棋  * 9:同意悔棋  * 10:认输

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

发表评论

0 个回复

  • Induction-Motor-Analysis-GUI
    it is a great working machine for us
    2018-02-05 22:44:54下载
    积分:1
  • 天气预报源码2.2
    天气预报, 使用的是 百度API 界面简单,供初学者使用. 大牛勿喷!!!... 天气预报, 使用的是 百度API 界面简单,供初学者使用.
    2022-07-23 23:46:29下载
    积分:1
  • Android-application-development
    本文详细在介绍了Android开发环境搭建的基础上,详述了Android应用程序的框架,UI系统的实现,以及2D,3D接口的控制和使用,是Android应用开发入门的经典教程。(This paper introduces in detail in the Android development environment to build, based on the details of the Android application framework, UI system implementation, as well as 2D, 3D interface to control and use, is a classic Android Application Development Tutorial.)
    2013-08-03 10:25:49下载
    积分:1
  • android编程200实例
    android编程实例,包含多个android的实际用法和典型应用,并附有详细的解释,一共200个实例
    2023-03-19 18:45:13下载
    积分:1
  • 广发项目的界面设计
    广发项目界面简单设计,实现部分功能
    2022-03-30 05:18:31下载
    积分:1
  • sub54687654654
    This is program for substraction
    2019-04-14 05:25:06下载
    积分:1
  • Android 在线阅读器及翻书特效源码
    用android制作的翻书效果,这其实是Android应用案例开发大全一书的一个例子,这个翻书效果来源于这个在线阅读程序中,这个阅读程序可以下载图书、在线阅读,当阅读内容时,用手触及右下角向上滑,即可掀页,或许这个效果对大家是有很好的帮助作用的,希望大家喜欢哦。
    2023-06-08 19:45:04下载
    积分:1
  • android系统 ContactsProvider模块源码下载
    android系统 ContactsProvider模块源码下载
    2014-10-27下载
    积分:1
  • android 异步加载网络图片 例子 附完整源码
    android 异步加载网络图片 例子 附完整源码
    2013-07-04下载
    积分:1
  • Android Sensor 各种传感器的使用例子
    本源码演示了Android Sensor 各种传感器的使用方法,比较基础的用法,例子中包括了方向传感器、磁场传感器、温度传感器、光传感器和压力传感器的各自调用用法等,相关代码如下:   public void onSensorChanged(SensorEvent event) {   float[] values = event.values;   StringBuffer sb = null;   int type = event.sensor.getType();   switch (type) {   case Sensor.TYPE_ORIENTATION:    sb = new StringBuffer();    sb.append("绕Z:" + values[0])    .append(" 绕X:" + values[1])    .append(" 绕X:" + values[2]);    ortationEdit.setText(sb.toString());    break;      case Sensor.TYPE_MAGNETIC_FIELD:    sb = new StringBuffer();    sb.append("X方向的角度:" + values[0])    .append(" Y方向的角度:" + values[1])    .append(" Z方向的角度:" + values[2]);    magneticEdit.setText(sb.toString());    break;   case Sensor.TYPE_TEMPERATURE:    sb = new StringBuffer();    sb.append("温度为:" + values[0]);    temeratureEdit.setText(sb.toString());    break;   case Sensor.TYPE_LIGHT:    sb = new StringBuffer();    sb.append("光强为:" + values[0]);    lightEdit.setText(sb.toString());    break;   case Sensor.TYPE_PRESSURE:    sb
    2022-02-26 07:53:01下载
    积分:1
  • 696522资源总数
  • 104029会员总数
  • 31今日下载