自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Chanyow Thea's Blog

Happy Coding.

  • 博客(35)
  • 资源 (3)
  • 收藏
  • 关注

原创 优秀文章链接汇总

Protobuf原理分析小结:https://www.jianshu.com/p/522f13206ba1简单的SocketDemo,解决拆包和粘包问题:http://www.manew.com/thread-140024-1-1.html Unity C# 自定义TCP传输协议以及封包拆包、解决粘包问题(网络应用层协议):https://blog.csdn.net/qq9928172...

2018-12-22 21:35:47 190

原创 Unity接入Bugly

下载SDK bugly_plugin_v1.5.3.zip:https://bugly.qq.com/v2/sdk?id=69c5bcc5-01b6-4bf6-a122-e1677d0ba5af使用Unity打开BuglyUnitySample工程删除Assets\Plugins\BuglyPlugins\Android\libs\x86下的libBugly.so(由于后面打包有重复包)填...

2019-04-13 17:23:23 1257

原创 C#迭代式和递归式快速排序

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Text.RegularExpressions;namespace TestCSharp{ class Program { static void Main(st...

2019-03-20 16:42:07 451

原创 二叉树广度遍历

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace TestCSharp{ public class BinTree { public BinTree m_LeftChild; public BinTree...

2019-03-01 20:56:04 503

原创 二叉树前序遍历

using System;using System.Collections.Generic;namespace TestCSharpFront{ public class BinTree { public BinTree m_LeftChild; public BinTree m_RightChild; public int...

2019-03-01 19:06:01 124

原创 二叉树中序遍历

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace TestCSharp{ public class BinTree { public BinTree m_LeftChild; public BinTree...

2019-03-01 14:53:36 110

原创 二叉树后序遍历迭代式

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace TestCSharp{ public class BinTree { public BinTree m_LeftChild; public BinTree...

2019-03-01 14:12:31 899

原创 Lua快速排序

-- region TestLua.luafunction Sort(list, leftIndex, rightIndex) if (leftIndex >= rightIndex) then return end local i = leftIndex local j = rightIndex local baseValue...

2019-01-04 19:56:30 416

原创 Lua希尔排序

 交换法:-- region TestLua.luafunction Sort(list) local gap = math.floor(#list / 2) while gap > 0 do for i = gap + 1, #list do local j = i while j > gap ...

2019-01-03 18:29:31 269

原创 Lua插入排序

-- region TestLua.luafunction Sort(list) for i = 2, #list do local j = i while j > 1 and list[j] < list[j - 1] do Swap(list, j, j - 1) j = j - 1 end ...

2019-01-03 17:28:49 159

原创 Lua迭代式归并排序

-- region TestLua.lua-- 2019.1.2function Merge(list, leftIndex, midIndex, rightIndex) local totalIndex = 1 local i = leftIndex local j = midIndex + 1 local tempList = { } while...

2019-01-03 11:40:53 133

原创 Lua递归式归并排序

-- region TestLua.lua-- 2019.1.2m_TempTuple = { }--- <summary>--- Merge(tuple, leftIndex, rightIndex, midIndex, tempTuple)--- merge all elements between left index and right index. (cont...

2019-01-02 20:04:41 236

原创 插值查找

using System;using System.Collections.Generic;namespace TestCSharp{ class Program { static void Main(string[] args) { int[] list = new int[] { 1, 9, 10, 24, 29...

2018-12-28 17:30:59 112

原创 二分法查找

using System;using System.Collections.Generic;namespace TestCSharp{ class Program { static void Main(string[] args) { int[] list = new int[] { 1, 2, 3, 4, 5, 6...

2018-12-28 16:11:33 100

原创 斐波那契查找

using System;using System.Collections.Generic;namespace TestCSharp{ class Program { // 斐波那契数列:从第三个元素开始,本项是前两项的和。即F[k] = F[k-1] + F[k-2] // 斐波那契数列的性质:长度为 F[k-1] - 1 的数列,去掉对...

2018-12-28 15:58:45 116

原创 C#设计模式-访问者模式

using System;using System.Collections.Generic;namespace TestCSharp{ class Program { static void Main(string[] args) { Map map = new Map(new Girl()); ...

2018-12-18 14:28:58 195

原创 C#设计模式-责任链模式

using System;using System.Collections.Generic;namespace TestCSharp{ class Program { static void Main(string[] args) { Executor designer = new Designer(); ...

2018-12-18 11:19:16 98

原创 C#设计模式-策略模式

using System;using System.Collections.Generic;namespace TestCSharp{ class Program { // client needs to know the state in the strategy mode. while in the state mode, it is no need ...

2018-12-18 10:59:47 120

原创 C#设计模式-状态模式

using System;using System.Collections.Generic;namespace TestCSharp{ class Program { static void Main(string[] args) { PlayerFSM fsm = new PlayerFSM(); ...

2018-12-17 20:44:44 111

原创 C#设计模式-中介者模式

using System;using System.Collections.Generic;namespace TestCSharp{ class Program { static void Main(string[] args) { President president = new President(); ...

2018-12-17 20:19:19 86

原创 C#设计模式-观察者模式

using System;using System.Collections.Generic;namespace TestCSharp{ class Program { static void Main(string[] args) { RedDotManager manager = new RedDotManager...

2018-12-17 18:01:31 69

原创 C#设计模式-命令模式

using System;namespace TestCSharp{ class Program { static void Main(string[] args) { Worker worker = new Soldier(); Command command = new Fight(work...

2018-12-17 11:27:57 113

原创 C#设计模式-模板模式

using System;using System.Collections.Generic;namespace TestCS{ class Program { // template pattern static void Main(string[] args) { Vehicle vehicle0 ...

2018-12-16 20:44:39 81

原创 C#设计模式-代理模式

using System;using System.Collections.Generic;namespace TestCS{ class Program { static void Main(string[] args) { PurchasingAgent agent = new PurchasingAgent()...

2018-12-16 18:12:12 104

原创 C#设计模式-外观模式

using System;using System.Collections.Generic;namespace TestCS{ class Program { static void Main(string[] args) { Facade facade = new Facade(); fac...

2018-12-16 11:35:51 90

原创 C#设计模式-组合模式

 透明式组合模式:using System;using System.Collections.Generic;namespace TestCS{ class Program { static void Main(string[] args) { Folder folder = new Folder(); ...

2018-12-16 11:20:57 155 2

原创 C#设计模式-装饰者模式

using System;using System.Collections.Generic;namespace TestCS{ class Program { static void Main(string[] args) { Robot robot = new DanceRobot(); r...

2018-12-16 10:24:27 114

原创 C#设计模式-桥接模式

using System;using System.Collections.Generic;namespace TestCS{ class Program { static void Main(string[] args) { Vehicle vehicle = new Maserati(new MaseratiEn...

2018-12-15 22:07:40 103

原创 C#设计模式-适配器模式

 对象适配器模式:using System;using System.Collections.Generic;namespace TestCS{ class Program { static void Main(string[] args) { Triplex2DuplexAdapter adapter = ne...

2018-12-15 19:55:02 72

原创 C#设计模式-建造者模式

using System;using System.Collections.Generic;namespace TestCS{ class Program { static void Main(string[] args) { Director director = new Director(); ...

2018-12-15 16:59:30 105

原创 C#设计模式-单例模式

​using System;namespace TestCS{ class Program { static void Main(string[] args) { MapManager.Singleton.Init(); Console.ReadKey(); } ...

2018-12-15 16:56:23 68

原创 C#设计模式-抽象工厂模式

using System;namespace TestCS{ class Program { static void Main(string[] args) { Factory factory0 = new MaseratiFactory(); Engine engine0 = factory0...

2018-12-15 14:21:18 74

原创 C#设计模式-工厂方法模式

using System;namespace TestCS{ class Program { static void Main(string[] args) { CarFactory factory0 = new CarFactory(); Vehicle vehicle0 = factory0...

2018-12-15 13:20:53 69

原创 C#设计模式-简单工厂模式

using System;namespace TestCS{ class Program { static void Main(string[] args) { SimpleFactory factory = new SimpleFactory(); Vehicle vehicle0 = fa...

2018-12-15 11:40:02 70

原创 C#堆排序

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace TestCSharp{ class Program { static void Main(string[] args) { Lis...

2018-12-14 11:45:57 120

RecastNavigation服务器寻路

C++写的Recast Detour寻路 NavMeshScene-master 用于游戏服务器寻路

2018-11-27

go1.11.windows_amd64.msi

go1.11.windows_amd64.msi Go语言运行环境,来自https://golang.org/doc/install?download=go1.11.2.windows-amd64.msi

2018-11-27

Go语言游戏服务器框架【Leaf Server】

Go语言游戏服务器框架【Leaf Server】 亲测可用,可以支持MySql数据库读取

2018-11-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除