MutterCorp
MutterCorpNotice · Notícias
Programação·

A daily-challenge stacking game in 47 KB of vanilla JavaScript

We build and install real video walls for a living at CrownTV in New York, so for our first browser game we made one about stacking screens. It's called Screen Stack, it's free, and you can play it here: www.crowntv-us.com/game The whole thing is four small files: one HTML page, one stylesheet, one script and a tiny audio file. That is about 34 KB of JavaScript and 47 KB in total (17 KB zipped). No engine and no libraries. Here are the four small tricks that made that possible. 1. The core mech…

Publicado no Notice. Categoria: Programação.

Notícias sobre o mesmo assunto em outras fontes