一个简单的安卓猜拳游戏代码怎样做

01天天酷跑叉叉助手安卓版(天天酷跑辅助) 2.5.8 最新下载01
休闲益智 / 2.0M02天天酷跑明哥破解版 v1.0.24 最新自动版本02
休闲益智 / 65.1M03捕鱼达人3d版 v1.0.2 安卓无限金币版03
休闲益智 / 35.5M04小鸟爆破免费版 v2.2.6 安卓破解版04
休闲益智 / 39.2M05三国Kill v3.2.1 官网安卓版05
休闲益智 / 50.4M06我的世界手机版下载 0.13.0.b5 安卓版06
休闲益智 / 12.4M07天天爱闯关 2.3.0 内购破解版07
休闲益智 / 9M08飞鸟战争游戏 v1.0 安卓版08
休闲益智 / 951KB09天天酷跑炫飞版1.0.13.0 徐哥破解0711 最新版09
休闲益智 / 64.9M10爱丽丝快跑 v1.6.0 安卓破解版10
休闲益智 / 33.5M
01天天酷跑叉叉助手安卓版(天天酷跑辅助) 2.5.8 最新下载01
休闲益智 / 2.0M02天天酷跑明哥破解版 v1.0.24 最新自动版本02
休闲益智 / 65.1M03捕鱼达人3d版 v1.0.2 安卓无限金币版03
休闲益智 / 35.5M04小鸟爆破免费版 v2.2.6 安卓破解版04
休闲益智 / 39.2M05三国Kill v3.2.1 官网安卓版05
休闲益智 / 50.4M06我的世界手机版下载 0.13.0.b5 安卓版06
休闲益智 / 12.4M07天天爱闯关 2.3.0 内购破解版07
休闲益智 / 9M08飞鸟战争游戏 v1.0 安卓版08
休闲益智 / 951KB09天天酷跑炫飞版1.0.13.0 徐哥破解0711 最新版09
休闲益智 / 64.9M10爱丽丝快跑 v1.6.0 安卓破解版10
休闲益智 / 33.5M
猜拳战士 v91 安卓版
共0人评分 | 共0人评论
猜拳战士是一款剪刀石头布玩法的休闲游戏,将简单的猜拳玩法融入到了闯关游戏之中,非常具有创新,休闲分加上马赛克的画风让这款游戏受到许多玩家的喜爱,你可以试试哦。【猜拳基本介绍】猜拳战士 RoShamBo Fighters是一款有趣新颖的横版闯关类游戏。你绝对想不到游戏中是怎么用猜拳来决定胜负的!罗是一个勇敢的少年,外出游历归来,突然发现村子被恶势力侵入而把村子里都烧毁了。你决定复仇!于是你踏上了寻找敌人的道路。在路上的敌人,你都可以用你训练多年的绝技去击败他们。那就是,石头剪刀布!!!发射你的石头剪刀布,攻克对方发出的技能并给他造成致命一击吧~
软件名称:猜拳战士 v91 安卓版
类型:休闲益智
大小:39.3M
语言:简体中文
更新时间:15-09-28
共0人参与,0条评论(您的评论需要经过审核才能显示)
起点软件 - 所有软件均来自网络如有版权问题请联系我们 - 浙ICP备号
Copyright & 2004- online services. All rights reserved.
请简要描述您遇到的错误,我们将尽快予以修订android版猜拳游戏源码分享 - 代码分享 - 开源中国社区
当前访客身份:游客 [
当前位置:
相关的代码(1524)
擅长语言Top3:
0回/199阅/0顶/2收藏&
擅长语言Top3:
0回/282阅/0顶/1收藏&
擅长语言Top3:
0回/190阅/0顶/1收藏&
擅长语言Top3:
0回/156阅/0顶/1收藏&
擅长语言Top3:
0回/70阅/0顶/1收藏&
擅长语言Top3:
0回/83阅/0顶/1收藏&
擅长语言Top3:
0回/157阅/0顶/1收藏&
擅长语言Top3:
0回/180阅/0顶/1收藏&
擅长语言Top3:
1回/118阅/0顶/0收藏&
擅长语言Top3:
0回/370阅/0顶/1收藏&
擅长语言Top3:
0回/238阅/0顶/2收藏&
擅长语言Top3:
0回/172阅/0顶/1收藏&
擅长语言Top3:
0回/280阅/0顶/1收藏&
擅长语言Top3:
0回/439阅/0顶/1收藏&
擅长语言Top3:
0回/80阅/0顶/3收藏&
擅长语言Top3:
0回/32阅/0顶/2收藏&
擅长语言Top3:
1回/226阅/0顶/0收藏&
擅长语言Top3:
0回/241阅/0顶/2收藏&
擅长语言Top3:
0回/223阅/0顶/2收藏&
擅长语言Top3:
0回/159阅/0顶/1收藏&
擅长语言Top3:
0回/400阅/0顶/1收藏&
擅长语言Top3:
0回/105阅/0顶/1收藏&
擅长语言Top3:
0回/215阅/0顶/3收藏&
擅长语言Top3:
0回/342阅/0顶/1收藏&
擅长语言Top3:
0回/156阅/0顶/0收藏&
擅长语言Top3:
0回/167阅/0顶/2收藏&
擅长语言Top3:
0回/125阅/0顶/0收藏&
擅长语言Top3:
0回/106阅/0顶/0收藏&
擅长语言Top3:
0回/164阅/0顶/0收藏&
擅长语言Top3:
0回/176阅/0顶/0收藏&
开源从代码分享开始1505人阅读
Android从入门到精通(118)
&LinearLayout xmlns:android=&/apk/res/android&
xmlns:tools=&/tools&
android:layout_width=&match_parent&
android:layout_height=&match_parent&
android:paddingBottom=&@dimen/activity_vertical_margin&
android:paddingLeft=&@dimen/activity_horizontal_margin&
android:paddingRight=&@dimen/activity_horizontal_margin&
android:paddingTop=&@dimen/activity_vertical_margin&
android:orientation=&vertical&
tools:context=&.MainActivity& &
android:id=&@+id/txt1&
android:layout_width=&match_parent&
android:layout_height=&wrap_content&
android:text=&猜拳游戏&
android:gravity=¢er& /&
&LinearLayout
android:layout_width=&match_parent&
android:layout_height=&wrap_content&
android:orientation=&horizontal&
&LinearLayout
android:layout_width=&0dp&
android:layout_height=&wrap_content&
android:layout_weight=&1&
android:orientation=&vertical&
android:gravity=¢er&
&ImageView
android:layout_width=&wrap_content&
android:layout_height=&wrap_content&
android:src=&@drawable/one&/&
&RadioGroup
android:id=&@+id/group1&
android:layout_width=&wrap_content&
android:layout_height=&wrap_content&&
&RadioButton
android:id=&@+id/st1&
android:layout_width=&match_parent&
android:layout_height=&wrap_content&
android:text=&石头&/&
&RadioButton
android:id=&@+id/jd1&
android:layout_width=&match_parent&
android:layout_height=&wrap_content&
android:text=&剪刀&/&
&RadioButton
android:id=&@+id/bu1&
android:layout_width=&match_parent&
android:layout_height=&wrap_content&
android:text=&布&/&
&/RadioGroup&
&/LinearLayout&
&LinearLayout
android:layout_width=&0dp&
android:layout_height=&wrap_content&
android:layout_weight=&1&
android:gravity=¢er&
android:orientation=&vertical&&
&ImageView
android:layout_width=&wrap_content&
android:layout_height=&wrap_content&
android:src=&@drawable/one&/&
&RadioGroup
android:id=&@+id/group2&
android:layout_width=&wrap_content&
android:layout_height=&wrap_content&&
&RadioButton
android:id=&@+id/st2&
android:layout_width=&match_parent&
android:layout_height=&wrap_content&
android:text=&石头&/&
&RadioButton
android:id=&@+id/jd2&
android:layout_width=&match_parent&
android:layout_height=&wrap_content&
android:text=&剪刀&/&
&RadioButton
android:id=&@+id/bu2&
android:layout_width=&match_parent&
android:layout_height=&wrap_content&
android:text=&布&/&
&/RadioGroup&
&/LinearLayout&
&/LinearLayout&
android:id=&@+id/btSure&
android:layout_width=&match_parent&
android:layout_height=&wrap_content&
android:gravity=¢er&
android:text=&确认&/&
&LinearLayout
android:layout_width=&match_parent&
android:layout_height=&wrap_content&
android:orientation=&horizontal&
android:layout_marginTop=&10dp&&
android:id=&@+id/txt2&
android:layout_width=&0dp&
android:layout_height=&wrap_content&
android:layout_weight=&1&
android:gravity=¢er&
android:text=&结果&/&
android:id=&@+id/resut&
android:layout_width=&0dp&
android:layout_height=&wrap_content&
android:layout_weight=&1&
android:gravity=¢er&
android:text=&显示结果&/&
&/LinearLayout&
&/LinearLayout&
package com.xiong.two_
import java.util.R
import java.math.*;
import android.app.A
import android.os.B
import android.view.M
import android.view.V
import android.view.View.OnClickL
import android.widget.B
import android.widget.RadioB
import android.widget.RadioG
import android.widget.RadioGroup.OnCheckedChangeL
import android.widget.TextV
public class MainActivity extends Activity {
private RadioGroup raGp1;
private RadioGroup raGp2;
private RadioButton roBtSt1;
private RadioButton roBtJd1;
private RadioButton roBtBu1;
private RadioButton roBtSt2;
private RadioButton roBtJd2;
private RadioButton roBtBu2;
private TextView txtR
private Button btS
private RadioButton rad1;
private Integer i=0;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
raGp1 = (RadioGroup) findViewById(R.id.group1);
raGp2 = (RadioGroup) findViewById(R.id.group2);
roBtSt2 = (RadioButton) findViewById(R.id.st2);
roBtJd2 = (RadioButton) findViewById(R.id.jd2);
roBtBu2 = (RadioButton) findViewById(R.id.bu2);
txtReuslt=(TextView)findViewById(R.id.resut);
btSure = (Button) findViewById(R.id.btSure);
RadioGroupListener raglistener=new RadioGroupListener();
raGp1.setOnCheckedChangeListener(raglistener);
raGp2.setOnCheckedChangeListener(raglistener);
ButtoneSureListener bu=new ButtoneSureListener();
btSure.setOnClickListener(bu);
class ButtoneSureListener implements OnClickListener {
public void onClick(View arg0) {
// TODO Auto-generated method stub
String txt=&&;
if(!i.equals(1))
txt=&少年!请选择你要出的拳头&;
ra=new Random();
int number=ra.nextInt(3);//手机随机生成一个拳头
int rad1Num=isTrues(rad1.getText().toString());
if(number==0)
roBtSt2.setChecked(true);
}else if(number==1)
roBtJd2.setChecked(true);
}else if(number==2)
roBtBu2.setChecked(true);
txt=winCai(rad1Num, number);
txtReuslt.setText(txt);
class RadioGroupListener implements OnCheckedChangeListener {
public void onCheckedChanged(RadioGroup arg0, int arg1) {
// TODO Auto-generated method stub
if(arg0.getId()==R.id.group1)
rad1=(RadioButton) findViewById(arg1);
public int isTrues(String str)
if(str.equals(&石头&))
}else if(str.equals(&剪刀&))
}else if(str.equals(&布&))
//判断输赢
private String winCai(int left,int
switch (left) {
switch (rigth) {
return &双赢&;
return &你赢&;
return &手机赢&;
switch (rigth) {
return &双赢&;
return &你赢&;
return &手机边赢&;
switch (rigth) {
return &双赢&;
return &你赢&;
return &手机赢&;
return &&;
public boolean onCreateOptionsMenu(Menu menu) {
// I this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:860077次
积分:7591
积分:7591
排名:第1953名
原创:115篇
转载:72篇
评论:299条
文章:55篇
阅读:559370我想用java写一个简单的安卓moba类游戏,但是不知道怎么入手,求大神发一个简单的moba游戏源码_百度知道好评:88.89%
坏评:11.11%
真人美女猜拳(猜拳游戏)是一款简单的猜拳游戏,规则就是平常石头剪刀布的玩法一样,相信大家都会了,这次可是有美女相伴哦,相信你不会孤单的!触屏点击石头,剪子,布出拳,你赢了就有好戏看哦!
你可以点击软件界面左上角的【更多游戏】按钮获取金币爽快嗨玩儿哦!来和性感的MM一起游戏吧,输了她会和你和你撒娇哦。真人美女猜拳是国内第一款真人互动的美女猜拳游戏,玩家与真人美女互动猜拳,高清视频、界面华丽、运行流畅。游戏采用五局三胜制,通过赢得更多的积分可付费选择开启各种成就奖励,可通过道具购买快速获得积分。
1.界面华丽,视觉冲击,迷人声音,运行流畅,完美结合;2.游戏中可以使用多种道具,偷看美女出拳,清除负分。
相关版本下载
下载真人美女猜拳 1.2 官网安卓版
其他下载地址:
软件排行榜
热门关键字

参考资料

 

随机推荐