Posts
Notes on Joel's Things You Should Never Do
In his post Things You Should Never Do, Part I, Joel Spolsky gave a warning: Never rewrite the code from scratch! The reason is that programmers are easy to think the old code is a mess, and that’s because of a fundamental law of programming: It’s harder to read code than to write it.
Reading Ellan Jiang's Unity GameFramework
Ellan Jiang’s Unity GameFramework is a popular (1400+ stars on GitHub on September 2019) and elegant framework for Unity game programmer. I want to walk through the codebase and take some notes on it. I think this is a good way to learn it.
Reading Ellan Jiang's Unity GameFramework: The Entry
Ellan Jiang’s Unity GameFramework is a popular (1400+ stars on GitHub on September 2019) and elegant framework for Unity game programmer. I want to walk through the codebase and take some notes on it. I think this is a good way to learn it.
豆瓣书籍排行榜:JavaScript 版
之前我写过一个 Python 脚本,它通过豆瓣开放的 API 获取书籍信息,然后根据贝叶斯平均算出每一本书的综合评分,再根据此评分制作一个排行榜。这一次,我用 JavaScript 重写了这个脚本,这样,我可以把这个脚本挂到网上,服务大家。网址:https://alexddhuang.github.io/douban-books-rank/。
基于贝叶斯平均制作豆瓣书籍排行榜
当你在豆瓣上搜索书籍时,你会发现得到的搜索结果的排序是完全让人摸不着头脑的,所以我打算写一个 Python 脚本通过访问豆瓣 API 获取书籍信息,然后利用贝叶斯平均计算出每本书的综合评分,再根据此评分作出一个排行榜。
Building a Network Layer on Unity
Here is a note on how to build a network layer on Unity. I am going to create a
TCPClient
class, which is a simple wrapper ofSystem.Net.Sockets.TcpClient
.Building a Unity 3D Minesweeper Game Step by Step Part 4: Stepping on the Mine
In this tutorial, we are going to try to build a 3D Minesweeper game in Unity. This is part 4. The complete project is here.
Building a Unity 3D Minesweeper Game Step by Step Part 3: Burying Mines
In this tutorial, we are going to try to build a 3D Minesweeper game in Unity. This is part 3. The complete project is here.
Building a Unity 3D Minesweeper Game Step by Step Part 2: The Character
In this tutorial, we are going to try to build a 3D Minesweeper game in Unity. This is part 2. The complete project is here.
Building a Unity 3D Minesweeper Game Step by Step Part 1: Building the Scene
In this tutorial, we are going to try to build a 3D Minesweeper game in Unity. This is part 1. The complete project is here.