Digests » 206

this week's favorite

How does Multiplayer Game sync their state?

In multiplayer game, one of the most complex issue is to keep all player's state in sync with server state. There are a few good articles around this topic on the internet. However, some details are missing here and there, which may be confusing for beginners in field of game programming, I hope I can clear things up in this article.

I wrote a programming language. Here’s how you can, too.

Over the past 6 months, I’ve been working on a programming language called Pinecone. I wouldn’t call it mature yet, but it already has enough features working to be usable.

Similarities Between Music and Programming

The first similarity I noticed is with people's perception and misconceptions. There is an aura of mystery for many people that persuades them it is too difficult or complex for them. They feel like they just don't "have it" or weren't "born with it".

The new standard of SIXEL development

SIXEL is one of image formats for printer and terminal imaging introduced by Digital Equipment Corp. (DEC). Its data scheme is represented as a terminal-friendly escape sequence. So if you want to view a SIXEL image file, all you have to do is "cat" it to your terminal.

Build Your Own Text Editor

The text editor is antirez’s kilo, with some changes. It’s about 1000 lines of C in a single file with no dependencies, and it implements all the basic features you expect in a minimal editor, as well as syntax highlighting and a search feature.

Join over 15,600 readers for a free weekly email with fresh news, articles and tutorials.