没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 推箱子2._0
{
class Program
{
static void Main(string[] args)
{
#region//1
int y = 5, x = 5;
string[,] a = new string[10, 11]{
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","推","箱","子","游","戏","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"}
};
#endregion
for (; ; )
{
#region//1
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 推箱子2._0
{
class Program
{
static void Main(string[] args)
{
#region//1
int y = 5, x = 5;
string[,] a = new string[10, 11]{
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","推","箱","子","游","戏","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"},
{"■","■","■","■","■","■","■","■","■","■","■"}
};
#endregion
for (; ; )
{
#region//1
if (a[0, 0] == "1 ")
{
if (a[4, 2] == " ")
{
a[4, 2] = "☆";
}
if (a[7, 4] == " ")
{
a[7, 4] = "☆";
}
if (a[2, 5] == " ")
{
a[2, 5] = "☆";
}
if (a[5, 7] == " ")
{
a[5, 7] = "☆";
}
}
#endregion
#region//2
if (a[0, 0] == "2 ")
{
if (a[3, 7] == " ")
{
a[3, 7] = "☆";
}
if (a[4, 7] == " ")
{
a[4, 7] = "☆";
{
if (a[4, 2] == " ")
{
a[4, 2] = "☆";
}
if (a[7, 4] == " ")
{
a[7, 4] = "☆";
}
if (a[2, 5] == " ")
{
a[2, 5] = "☆";
}
if (a[5, 7] == " ")
{
a[5, 7] = "☆";
}
}
#endregion
#region//2
if (a[0, 0] == "2 ")
{
if (a[3, 7] == " ")
{
a[3, 7] = "☆";
}
if (a[4, 7] == " ")
{
a[4, 7] = "☆";
剩余23页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/5d84315ad8a84d7794e703f94c335a11_weixin_44218477.jpg!1)
weixin_44218477
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)