المدة الزمنية 2:44

Falling Blocks - an APL Tetris Clone (Voice Control)

بواسطة Will Blaschko
549 مشاهدة
0
18
تم نشره في 2019/04/17

I made a fully-working Tetris clone (named Falling Blocks) using Alexa Presentation Language (APL) that allows you to play in real-time, controlled entirely by voice. Building on the techniques in my last post, the gameplay area is comprised of a 8x12 grid of Pagers controlled by SetPage commands for forced animation. The biggest challenge was syncing the frontend with the backend, which was solved by abusing ControlMedia (Play/Rewind) commands and listening for onPlay events for each tick of gameplay. Big thanks to Mark S. (an APL genius) for coming up with this solution! https://www.linkedin.com/pulse/falling-blocks-tetris-alexa-apl-will-blaschko/

الفئة

الكلمات

عرض المزيد

تعليقات - 4