<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	“wqh博客”的评论	</title>
	<atom:link href="https://wangqianhong.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>https://wangqianhong.com</link>
	<description>和而不同</description>
	<lastBuildDate>Tue, 14 May 2024 06:36:12 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		coluh对《用Go写一个中国象棋（五）&#124; Ebiten界面响应》的评论		</title>
		<link>https://wangqianhong.com/2020/10/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e4%ba%94%ef%bc%89-ebiten%e7%95%8c%e9%9d%a2%e5%93%8d%e5%ba%94/#comment-26</link>

		<dc:creator><![CDATA[coluh]]></dc:creator>
		<pubDate>Tue, 14 May 2024 06:36:12 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=280#comment-26</guid>

					<description><![CDATA[感谢分享]]></description>
			<content:encoded><![CDATA[<p>感谢分享</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		kk0725对《用Go写一个中国象棋（十八）&#124; 开局库》的评论		</title>
		<link>https://wangqianhong.com/2020/12/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e5%8d%81%e5%85%ab%ef%bc%89-%e5%bc%80%e5%b1%80%e5%ba%93/#comment-25</link>

		<dc:creator><![CDATA[kk0725]]></dc:creator>
		<pubDate>Mon, 23 Oct 2023 02:43:21 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=579#comment-25</guid>

					<description><![CDATA[回复给&lt;a href=&quot;https://wangqianhong.com/2020/12/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e5%8d%81%e5%85%ab%ef%bc%89-%e5%bc%80%e5%b1%80%e5%ba%93/#comment-13&quot;&gt;anko&lt;/a&gt;。

你好，请问你联系方式多少？我些问题请教一下]]></description>
			<content:encoded><![CDATA[<p>回复给<a href="https://wangqianhong.com/2020/12/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e5%8d%81%e5%85%ab%ef%bc%89-%e5%bc%80%e5%b1%80%e5%ba%93/#comment-13">anko</a>。</p>
<p>你好，请问你联系方式多少？我些问题请教一下</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		wqh_work对《Flutter（八）&#124; 用Intl插件国际化》的评论		</title>
		<link>https://wangqianhong.com/2021/04/flutter%ef%bc%88%e5%85%ab%ef%bc%89-%e7%94%a8intl%e6%8f%92%e4%bb%b6%e5%9b%bd%e9%99%85%e5%8c%96/#comment-20</link>

		<dc:creator><![CDATA[wqh_work]]></dc:creator>
		<pubDate>Fri, 15 Oct 2021 14:04:13 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=1415#comment-20</guid>

					<description><![CDATA[回复给&lt;a href=&quot;https://wangqianhong.com/2021/04/flutter%ef%bc%88%e5%85%ab%ef%bc%89-%e7%94%a8intl%e6%8f%92%e4%bb%b6%e5%9b%bd%e9%99%85%e5%8c%96/#comment-12&quot;&gt;breeze&lt;/a&gt;。

你可以看看下一章，国际化会跟随手机系统语言自动切换]]></description>
			<content:encoded><![CDATA[<p>回复给<a href="https://wangqianhong.com/2021/04/flutter%ef%bc%88%e5%85%ab%ef%bc%89-%e7%94%a8intl%e6%8f%92%e4%bb%b6%e5%9b%bd%e9%99%85%e5%8c%96/#comment-12">breeze</a>。</p>
<p>你可以看看下一章，国际化会跟随手机系统语言自动切换</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		wqh_work对《用Go写一个中国象棋（十八）&#124; 开局库》的评论		</title>
		<link>https://wangqianhong.com/2020/12/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e5%8d%81%e5%85%ab%ef%bc%89-%e5%bc%80%e5%b1%80%e5%ba%93/#comment-19</link>

		<dc:creator><![CDATA[wqh_work]]></dc:creator>
		<pubDate>Fri, 15 Oct 2021 14:03:22 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=579#comment-19</guid>

					<description><![CDATA[回复给&lt;a href=&quot;https://wangqianhong.com/2020/12/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e5%8d%81%e5%85%ab%ef%bc%89-%e5%bc%80%e5%b1%80%e5%ba%93/#comment-13&quot;&gt;anko&lt;/a&gt;。

看到了，一起学习]]></description>
			<content:encoded><![CDATA[<p>回复给<a href="https://wangqianhong.com/2020/12/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e5%8d%81%e5%85%ab%ef%bc%89-%e5%bc%80%e5%b1%80%e5%ba%93/#comment-13">anko</a>。</p>
<p>看到了，一起学习</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		wqh_work对《用Go写一个中国象棋（一）&#124; 准备工作》的评论		</title>
		<link>https://wangqianhong.com/2020/09/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e4%b8%80%ef%bc%89-%e5%87%86%e5%a4%87%e5%b7%a5%e4%bd%9c/#comment-18</link>

		<dc:creator><![CDATA[wqh_work]]></dc:creator>
		<pubDate>Fri, 15 Oct 2021 14:02:51 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=241#comment-18</guid>

					<description><![CDATA[回复给&lt;a href=&quot;https://wangqianhong.com/2020/09/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e4%b8%80%ef%bc%89-%e5%87%86%e5%a4%87%e5%b7%a5%e4%bd%9c/#comment-15&quot;&gt;panda&lt;/a&gt;。

这块确实可以优化，目前还没有时间，等有时间我再看一下]]></description>
			<content:encoded><![CDATA[<p>回复给<a href="https://wangqianhong.com/2020/09/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e4%b8%80%ef%bc%89-%e5%87%86%e5%a4%87%e5%b7%a5%e4%bd%9c/#comment-15">panda</a>。</p>
<p>这块确实可以优化，目前还没有时间，等有时间我再看一下</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		panda对《用Go写一个中国象棋（一）&#124; 准备工作》的评论		</title>
		<link>https://wangqianhong.com/2020/09/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e4%b8%80%ef%bc%89-%e5%87%86%e5%a4%87%e5%b7%a5%e4%bd%9c/#comment-15</link>

		<dc:creator><![CDATA[panda]]></dc:creator>
		<pubDate>Fri, 15 Oct 2021 12:11:28 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=241#comment-15</guid>

					<description><![CDATA[象棋点击自己的棋子后 ，不会立即走子必须等待AI走子后才更新界面。可以优化一下。
var aiturn bool

func (g *Game) Update(screen *ebiten.Image) error {
	。。。。。。
	if inpututil.IsMouseButtonJustReleased(ebiten.MouseButtonLeft) {
		if aiturn {
			g.aiMove(screen)
			aiturn = false
		}
。。。。。。。。。。
	}

	g.drawBoard(screen)
	if g.bGameOver {
		g.messageBox(screen)
	}
	return nil
}

。。。。。
					aiturn = true
					//g.aiMove(screen)
。。。。。。。。。

用 GoVCL 开发go程序界面也很方便]]></description>
			<content:encoded><![CDATA[<p>象棋点击自己的棋子后 ，不会立即走子必须等待AI走子后才更新界面。可以优化一下。<br />
var aiturn bool</p>
<p>func (g *Game) Update(screen *ebiten.Image) error {<br />
	。。。。。。<br />
	if inpututil.IsMouseButtonJustReleased(ebiten.MouseButtonLeft) {<br />
		if aiturn {<br />
			g.aiMove(screen)<br />
			aiturn = false<br />
		}<br />
。。。。。。。。。。<br />
	}</p>
<p>	g.drawBoard(screen)<br />
	if g.bGameOver {<br />
		g.messageBox(screen)<br />
	}<br />
	return nil<br />
}</p>
<p>。。。。。<br />
					aiturn = true<br />
					//g.aiMove(screen)<br />
。。。。。。。。。</p>
<p>用 GoVCL 开发go程序界面也很方便</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		anko对《用Go写一个中国象棋（十三）&#124; 象棋AI进阶》的评论		</title>
		<link>https://wangqianhong.com/2020/11/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e5%8d%81%e4%b8%89%ef%bc%89-%e8%b1%a1%e6%a3%8bai%e8%bf%9b%e9%98%b6/#comment-14</link>

		<dc:creator><![CDATA[anko]]></dc:creator>
		<pubDate>Sat, 28 Aug 2021 13:02:26 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=507#comment-14</guid>

					<description><![CDATA[好复杂的算法，我真的看不懂，但是我想看懂。。。]]></description>
			<content:encoded><![CDATA[<p>好复杂的算法，我真的看不懂，但是我想看懂。。。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		anko对《用Go写一个中国象棋（十八）&#124; 开局库》的评论		</title>
		<link>https://wangqianhong.com/2020/12/%e7%94%a8go%e5%86%99%e4%b8%80%e4%b8%aa%e4%b8%ad%e5%9b%bd%e8%b1%a1%e6%a3%8b%ef%bc%88%e5%8d%81%e5%85%ab%ef%bc%89-%e5%bc%80%e5%b1%80%e5%ba%93/#comment-13</link>

		<dc:creator><![CDATA[anko]]></dc:creator>
		<pubDate>Fri, 27 Aug 2021 14:26:47 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=579#comment-13</guid>

					<description><![CDATA[有bug，github已经提交issue]]></description>
			<content:encoded><![CDATA[<p>有bug，github已经提交issue</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		breeze对《Flutter（八）&#124; 用Intl插件国际化》的评论		</title>
		<link>https://wangqianhong.com/2021/04/flutter%ef%bc%88%e5%85%ab%ef%bc%89-%e7%94%a8intl%e6%8f%92%e4%bb%b6%e5%9b%bd%e9%99%85%e5%8c%96/#comment-12</link>

		<dc:creator><![CDATA[breeze]]></dc:creator>
		<pubDate>Mon, 23 Aug 2021 06:25:51 +0000</pubDate>
		<guid isPermaLink="false">https://wangqianhong.com/?p=1415#comment-12</guid>

					<description><![CDATA[void switchLanguage(int index) {
    switch (index) {
      case 0:
        S.delegate.supportedLocales[1];
        break;
      case 1:
        S.delegate.supportedLocales[0];
        break;
    }
  }  你好，切换语言的时候报错，请问咋解决    使用是localizationsDelegates: [
          S.delegate, // 应用程序的翻译回调
          // AppLocalizations.delegate, // 自定义国际化内容，由intl生成
          GlobalMaterialLocalizations.delegate, // 全局Material国际化
          GlobalWidgetsLocalizations.delegate, // 全局Widget国际化
          GlobalCupertinoLocalizations.delegate, // 全局Cupertino国际化
        ],
        supportedLocales: S.delegate.supportedLocales,
        locale: setting._locale,]]></description>
			<content:encoded><![CDATA[<p>void switchLanguage(int index) {<br />
    switch (index) {<br />
      case 0:<br />
        S.delegate.supportedLocales[1];<br />
        break;<br />
      case 1:<br />
        S.delegate.supportedLocales[0];<br />
        break;<br />
    }<br />
  }  你好，切换语言的时候报错，请问咋解决    使用是localizationsDelegates: [<br />
          S.delegate, // 应用程序的翻译回调<br />
          // AppLocalizations.delegate, // 自定义国际化内容，由intl生成<br />
          GlobalMaterialLocalizations.delegate, // 全局Material国际化<br />
          GlobalWidgetsLocalizations.delegate, // 全局Widget国际化<br />
          GlobalCupertinoLocalizations.delegate, // 全局Cupertino国际化<br />
        ],<br />
        supportedLocales: S.delegate.supportedLocales,<br />
        locale: setting._locale,</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
