Amit's articles are an awesome gamedev resource that get reposted from time to time (with good reason). Bookmark is recommended, the canonical link is:<p><a href="http://www.redblobgames.com/" rel="nofollow">http://www.redblobgames.com/</a><p>Example of other topics of interest there: Hex Grid implementations, Why piecewise circles are better than bezier curves in generating curved roads, and a 2D visibility algorithm.