游戏
会魔法的猫
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
SLG, 菱形格子的算法.(递归版
class GeoPoint{ public: int x; int y; public: bool operator == (const GeoPoint& p){ return p.x == this->x && p.y == this->y; } GeoPoint(int x, int y):x(x), y(y){ }原创 2014-06-08 02:47:20 · 2895 阅读 · 0 评论 -
SLG,菱形格子的算法 (非递归版本 .效率赞!
// // main.c // Paopao // // Created by Vincent on 14-6-8. // Copyright (c) 2014年 61games. All rights reserved. // #include #include #include #include #include #define geop(x, y) (x << 16 |原创 2014-06-08 04:43:53 · 2222 阅读 · 0 评论 -
fsnet 0.0.1 !!!
https://github.com/frodosens/fsnet fsnet 是一个 使用C层做网络驱动. Ruby做具体逻辑处理. 可支持分布式部署的一个开源网络游戏服务器. 因为为了搭好基础环境. 就使用了libevent做IO层..后面看看会不会自己重新写IO ruby使用的是最新的2.1.2 如果单节点.一个比较简单的版本比较 可以有5W/s原创 2014-06-12 12:14:18 · 1060 阅读 · 0 评论
分享