A downloadable game

Tetris - BASIC 10Liner Contest 2024

====================================

Author:   Eric Carr

Language: FastBasic 4.6

Platform: Atari 8-bit

Category: EXTREM-256

Video:


Requirements:

System: Atari 8-bit (800 48K or XE/XL) w/ Joystick

Emulator: Atari800MacX (on Mac) or Altirra (Windows)


Game Background

===============

January of this year was the first time some played the NES Tetris game until it crashed, finally beating it. 

To celebrate this feat, I present this NES Tetris inspired game for the Atari. It uses no player missile graphics or DLI. Just a custom character set. I enhanced my music code to play patterns, to allow for a longer song before it repeats.


How to Play

============

Adjust pieces as they fall so they form complete rows at the bottom. A complete row will be cleared and score points. Complete multiple rows at once to score higher!

1. Use the joystick LEFT/RIGHT to move your falling pieces

2. Hold the joystick DOWN to drop the piece into place and score additional points

2. Press the BUTTON to rotate

3. Press any KEYBOARD KEY to pause the game. Press again to resume play.


Gameplay Tips

=============

1. Try to save up to clear all four rows at once. This is a known as a Tetris and scores you the most points!

2. Each level increases your score when clearing rows. For a challenge and higher scoring, start at level 9!


Tools Used

==========

- FastBasic 4.6 Cross Compiler - Compile BASIC to XEX

  https://github.com/dmsc/fastbasic/releases/tag/v4.6

- Visual Studio Code - Editing the file

  https://code.visualstudio.com/download

- Atari FontMaker - Defining chars as block sprites

  http://matosimi.websupport.sk/atari/atari-fontmaker/

- FastBasic Debugger for VSCode Extension (I wrote it to help debug FastBasic)

  https://marketplace.visualstudio.com/items?itemName=EricCarr.fastbasic-debugger

- Atari800MacX and Altirra - Emulators

StatusReleased
Rating
Rated 4.8 out of 5 stars
(4 total ratings)
AuthorBASIC 10Liner
GenrePuzzle
Tags10liner, 8-Bit, atari, atari800, basic

Download

Download
Tetris.atr 359 kB
Download
TETRIS.LST 2 kB
Download
Tetris.xex 4 kB
Download
Tetris-commented-source.bas 19 kB
Download
Tetris-readme.txt 2 kB

Install instructions

Starting the game

=================

1. If using an emulator, set to Atari 800XL or 130XE and enable keyboard joystick. 

2. Start the game by doing one of the following:

  A. Boot the Tetris.atr disk - it will auto start the game.

  B. Drag/drop the Tetris.xex file directly on the emulator 

3. Using joystick, press up/down to select desired level and press button to start

Development log

Comments

Log in with itch.io to leave a comment.

How the heck did you get this within 10 lines? You’re a genius!

Someone had asked if this would run on an Atari 400 w/ 16KB ram. I assumed 48K when I coded this, so lazily used higher memory locations for screen and charset.  Today I modified the memory locations to fit within 16K (i just barely had room) and tested it in Altirra.  It is otherwise identical (still fits in 10 lines).

Download here to try on your 400 16K:

https://www.carr-designs.com/downloads/TETRIS.XEX

(1 edit) (+1)

A great Tetris. Maybe one of the best I played in years. And I'm not that bad playing it :)


(1 edit) (+1)

You are good Eric !

(+1)

This is amazing.

(+1)

Awesome!