摘要: = =难道要老子手动格式化么 真蛋疼 阅读全文
posted @ 2014-07-05 11:57 fuis 阅读(143) 评论(0) 推荐(0)
摘要: 嗯 在博客园的第一篇博文(有个问题 我点了导入wordpress的博文 博客园这里没动静啊 = =)先介绍一下背景吧。我在Python上用Pygame写了一个半成品游戏,感觉Python的弱类型化让代码规模的扩大很成问题(其实是没有自动完成没法偷懒~)正好有本讲XNA的书 于是打算迁移到XNA上XN... 阅读全文
posted @ 2014-07-05 11:45 fuis 阅读(2187) 评论(0) 推荐(0)
摘要: 本篇文章包含的内容有 快速从用户输入中获取枚举值 利用using定义长命名空间的别名 使用Dictionary解析命令行参数 LINQ 和 LINQ for XML 使用ConditionalAttribute() 优雅地处理可空类型1.快速从用户输入中获取枚举值经常要用到枚举,并且常... 阅读全文
posted @ 2014-06-06 17:52 fuis 阅读(285) 评论(0) 推荐(0)
摘要: 咳咳 这应该是博客上的第一个系列文章 会有比较丰富的讲解 本文应该能帮助新手们从语法基础进阶到有能力简洁实现话不多说 现在开始上课 先从简单的开始数组的声明 给集合赋初始值大家应该都懂的 int[] array = { 1, 2, 3 }; Point point = new Point { X =... 阅读全文
posted @ 2014-06-01 22:51 fuis 阅读(423) 评论(0) 推荐(0)
摘要: 复制过去import astar直接用 你懂的# -*- coding: utf-8 -*- class Node(): def __init__(self, parent, x, y, G, H): self.parent = parent self.x = x self.y = y se... 阅读全文
posted @ 2014-06-01 21:09 fuis 阅读(622) 评论(0) 推荐(0)
摘要: 写了一天 总算是有点样子了用了A*来实现自动寻路 真心累人啊这是操作系统 打算先跟着书做一个 走过流程后再重新写 阅读全文
posted @ 2014-06-01 11:39 fuis 阅读(143) 评论(0) 推荐(0)
摘要: [gallery link="file" orderby="rand"]代码下载 暂时试用simsimi apiWebQQRobot 阅读全文
posted @ 2014-04-03 15:21 fuis 阅读(230) 评论(0) 推荐(0)
摘要: 求轻喷 QQ是2843943395 源码比较乱 我重构下再发出来 阅读全文
posted @ 2014-04-02 22:10 fuis 阅读(231) 评论(0) 推荐(0)
摘要: 一个下午搞定的 当然只是个测试版需添加引用HtmlAgilityPack代码如下using HtmlAgilityPack;using System;using System.Collections.Specialized;using System.Linq;using System.Net;usi... 阅读全文
posted @ 2014-02-15 18:30 fuis 阅读(3271) 评论(0) 推荐(0)
摘要: 某黑客游戏攻略第一关F12打开开发人员工具可以清楚地看到实现的逻辑 输入hackervip.com 进入第二关(注意空格)第二关还是F12打开开发人员工具用JScript.Encode编码了脚本打开http://www.35wl.com/tools/encode.htm解码得到function Pa... 阅读全文
posted @ 2014-02-11 09:49 fuis 阅读(427) 评论(0) 推荐(0)