Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Game Program Chess Poker games
Title: hzlai.net_WoodFoxWeiQi_v0.03 Download
 Description: Silverlight 开发的围棋在线对弈程序 首先,介绍下围棋的简单规则:黑白双方交替落子,以占据棋盘上交叉点多者为胜。同时,双方为了争夺地盘,可能会发生“对杀”。一个棋子周围接触的空白交叉点数目叫做“气”,如果一个或多个棋子周围的气都被对方封死,气数=0,则这些棋子就称为死棋,需要从棋盘上移去。 1. 我们打算在界面的左侧显示棋盘,而右侧是功能区域。 2. 棋盘是由19道横线,19道竖线,以及9个星位的标志组成的。为了方便查找棋盘上的位置,我们在棋盘的四周可能需要加上坐标。目前我们先只在左侧和上方加上坐标。右边和下面的位置留在那里。 为了重用代码,并且开始开发围棋程序的界面控制功能,我们考虑用 MVC 架构来对前面的程序进行一点小的修改,这样方便扩展功能。 需要引入几个枚举,以及帮助类 创建了 Model 和 Controller 对象,然后在 Controller 的构造函数中,将执行 View 的初始化动作,并将生成的 UserControl 对象赋给 Application.Current.RootVisual,从而达到显示 View 的目的
File list (Check if you may need any files):
WoodFoxWeiQi
............\mssccprj.scc
............\vssver.scc
............\WoodFoxWeiQi.sln
............\WoodFoxWeiQi.UI
............\...............\App.xaml
............\...............\App.xaml.cs
............\...............\Bin
............\...............\...\Debug
............\...............\...\.....\AppManifest.xaml
............\...............\...\.....\TestPage.html
............\...............\...\.....\WoodFoxWeiQi.UI.dll
............\...............\...\.....\WoodFoxWeiQi.UI.pdb
............\...............\...\.....\WoodFoxWeiQi.UI.xap
............\...............\BoardUpdateEventArgs.cs
............\...............\ClassDiagram1.cd
............\...............\GameStatus.cs
............\...............\mssccprj.scc
............\...............\obj
............\...............\...\Debug
............\...............\...\.....\App.g.cs
............\...............\...\.....\Refactor
............\...............\...\.....\ResolveAssemblyReference.cache
............\...............\...\.....\TempPE
............\...............\...\.....\WeiQiView.g.cs
............\...............\...\.....\WoodFoxWeiQi.UI.csproj.FileListAbsolute.txt
............\...............\...\.....\WoodFoxWeiQi.UI.dll
............\...............\...\.....\WoodFoxWeiQi.UI.g.resources
............\...............\...\.....\WoodFoxWeiQi.UI.pdb
............\...............\...\.....\XapCacheFile.xml
............\...............\Position.cs
............\...............\Properties
............\...............\..........\AppManifest.xml
............\...............\..........\AssemblyInfo.cs
............\...............\..........\vssver.scc
............\...............\Stone.cs
............\...............\vssver.scc
............\...............\WeiQiController.cs
............\...............\WeiQiModel.cs
............\...............\WeiQiView.xaml
............\...............\WeiQiView.xaml.cs
............\...............\WoodFoxWeiQi.UI.csproj
............\...............\WoodFoxWeiQi.UI.csproj.user
............\...............\WoodFoxWeiQi.UI.csproj.vspscc
............\WoodFoxWeiQi.UI.Web
............\...................\App_Data
............\...................\bin
............\...................\...\de
............\...................\...\..\System.Web.Silverlight.resources.dll
............\...................\...\es
............\...................\...\..\System.Web.Silverlight.resources.dll
............\...................\...\fr
............\...................\...\..\System.Web.Silverlight.resources.dll
............\...................\...\it
............\...................\...\..\System.Web.Silverlight.resources.dll
............\...................\...\ja
............\...................\...\..\System.Web.Silverlight.resources.dll
............\...................\...\ko
............\...................\...\..\System.Web.Silverlight.resources.dll
............\...................\...\System.Web.Silverlight.dll
............\...................\...\WoodFoxWeiQi.UI.Web.dll
............\...................\...\WoodFoxWeiQi.UI.Web.pdb
............\...................\...\zh-Hans
............\...................\...\.......\System.Web.Silverlight.resources.dll
............\...................\...\zh-Hant
............\...................\...\.......\System.Web.Silverlight.resources.dll
............\...................\ClientBin
............\...................\.........\WoodFoxWeiQi.UI.xap
............\...................\Default.aspx
............\...................\Default.aspx.cs
............\...................\Default.aspx.designer.cs
............\...................\mssccprj.scc
............\...................\obj
............\...................\...\Debug
............\...................\...\.....\ResolveAssemblyReference.cache
............\...................\...\.....\TempPE
............\...................\...\.....\WoodFoxWeiQi.UI.Web.csproj.FileListAbsolute.txt
............\...................\...\.....\WoodFoxWeiQi.UI.Web.dll
............\...................\...\.....\WoodFoxWeiQi.UI.Web.pdb
............\..................

CodeBus www.codebus.net