为了账号安全,请及时绑定邮箱和手机立即绑定
我怎么觉得黑棋赢不了。
希望记得带注释。。
想要人机对战的啊
讲的真好!
翻转屏幕时候报错 : Wrong state class, expecting View State but received class android.os.Bundle instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/wuziqi. Make sure other views do not use the same id.
报错 by: java.lang.Illegal ArgumentException: Wrong state class, expecting View State but received class android.os.Bundle instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/wuziqi. Make sure other views do not use the same id.
有没有哪位仁兄有完整的代码可以分享一下
只落在斜行的检查自己drawPieces()代码段,绘制棋子的坐标x,y出问题,可能是都是x或都是y(这是我前几段遇到情况)
可以绘制,谢谢老师
逻辑更清楚,代码更优化的五子棋实现:https://github.com/wangzhengyi/Gomoku,欢迎fork&&star
我知道你们想要源码,基于AndroidStudio gradle编译,并且优化代码,增加自定义属性抽象,欢迎star和fork:https://github.com/wangzhengyi/Gomoku
讲道理的话,LongDD最喜欢说
这个道理讲得我给满分 让老师骄傲
课程须知
本课程为中级案例课程,学习该门课程的同学需具备一定的Android基础。
老师告诉你能学到什么?
1、绘制棋牌与棋子 2、逻辑判断 3、View的存储与恢复

微信扫码,参与3人拼团

意见反馈 帮助中心 APP下载
官方微信
友情提示:

您好,此课程属于迁移课程,您已购买该课程,无需重复购买,感谢您对慕课网的支持!

本次提问将花费2个积分

你的积分不足,无法发表

为什么扣积分?

本次提问将花费2个积分

继续发表请点击 "确定"

为什么扣积分?

举报

0/150
提交
取消