Share on facebook
Share on twitter
Share on linkedin
Share on email
Share on print
Table of Contents
Description

Tetris was contributed by forum member Rayman, and incorporates the Ahle2 simpleSound engine. This code was written in C with FlexProp, and incorporates the use of Spin2 files for video, mouse and keyboard. 

The hardware is a Propeller 2 board with the P2 Eval A/V Breakout Add-on Board for audio and VGA. In this configuration, you play through the FlexProp terminal with your computer’s WASD keys. You may also use a USB keyboard and mouse connected to the P2 Eval Serial Host Add-on Board. 

Open the Platform.h file from FlexProp to configure your own I/O pins:

Thank you to Rayman for this entertaining contribution to P2 Quick Bytes! 

Source Code
Programming Language
Tools and Operating System
Document Author
Source Code Author
Table of Contents
0 0 votes
Article Rating
Subscribe
Notify of
guest
6 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Piotr Kardasz

Tetris_1c.zip link doesn’t work

DarkInsanePyro

FYI, Tetris in 1080p […] forum link under ‘Additional Resources’ is broken. 🙂

Stephanie Lindsay

Fixed!

DarkInsanePyro

It was odd with no TLD and no periods, e.g. forums/parallax/discussion/… Ah well it works now.