Erlang: Writing a Tetris clone Part 3 – Gameplay rules, final features and deployment

The third video in this series moves on with implementation of gameplay rules, scoring, the “next” preview window and packaging and deploying the game using ZX as a shortcut. Writing this is a lot of fun. As of this video the game part is finished, but there are a few things such as high score […]

Erlang: Writing a Tetris clone Part 2 – Gameplay mechanics

Last night I was able to make the second video in my series about implementing a Tetris clone in Erlang. Yay! In this video I start where I left off in the first video where I had ended with a data abstraction to represent the play field (called the “well” in Tetris lingo), a data […]

Erlang: Writing a Tetris clone Part 1 – Data types and basic GUI display

Over the last few days I wrote an Erlang implementation of the classic puzzle game Tetris and decided to do a few videos to explain how it works and why. This is part one of a three-part series. Data types and basic GUI display [this page] Gameplay mechanics Gameplay rules, final features, and deployment This […]

Erlang: FizzBuzz in Python vs Erlang — a discussion about conditionals

I’ve had a few discussions with beginners over the last few months that often come to center around not really understanding the conditional branching constructs in Erlang, so I decided to do a video on it using “FizzBuzz” as the central example. The traditional if/else if/else boolean paradigm is quite different from Erlang’s concept of […]

Erlang: Building a Telnet Chat Server from Scratch Using ZX

A few weeks ago I made a two-part video discussion about building a telnet chat server from scratch using ZX and forgot to post any prose reference to it. (Most people are following my blog RSS, not my (extremely tiny) video channels.) The resulting project is called “Trash Talk” and it has a repo on […]

Erlang: Dispatching Closures (aka: why we don’t do OOP)

Oh my! It’s like “Creating nouns in the kingdom of verbs“!(The link above is to a great post from Steve Yegge — read it and come back if you aren’t already familiar with it.) I wrote a funny little module today to demonstrate to a friend why FP folks sometimes refer to OOP objects as […]

Erlang: [video] The GUI experience on Windows with ZX and Vapor

I’ve written and spoken a bit about how ZX makes it easy to create, distribute and launch templated GUI projects in Erlang. I also showed how the (still ugly) GUI program launcher Vapor can make it easy for non-technical desktop users to use those programs. So far I’ve been doing my examples on Linux where […]

Erlang: [Video] Creating and running GUI apps with ZX

I had a little bit of time to make a video on how to use ZX to create GUI applications, but not enough time to do any post processing. Hopefully the video demonstrates the basic use case well enough to make the purpose of the tool itself obvious. (The audio isn’t great — hopefully I’ll […]