programmers resources
  http://www.intel-assembler.it/  (c)2017 intel-assembler.it   info@intel-assembler.it
 
Search :  
Lingua Italiana    English Language   
Index
 
just an empty assembly space
just an arrow Intel Platform
just an arrow Article & Guides
just an arrow Download Software


23/01/2009 Featured Article: How to remove Buzus Virus (permalink)




:::3173548:::
Bottone Scambio Directory Pubblicitaonline.it
Home Page | Articles & Guides | Download | Intel Platform | Contacts

Google
 


Bookmark and Share
Download 
Tell a friend



Tetris simple arcade

Tetris source code in x86 assembly only 2K

(by tore bastiansen)

An assembly version of Tetris. The source code is divided in tre ASM files and the compiled versione is only 2K size.
This article is online from 2612 days and has been seen 10861 times





SmallTetrris v1.0
Implemented by Tore Bastiansen

Usage:
How to start:
tetris [-l n] [-p]
-l n: Starting level (1-17)
-p  : Turn on preview

How to play:
UpArrow or 5 - rotate
DownArrow or 2 -       drop
LeftArrow or 4 - move left
RigthArrow or 6 - move right
PgUp or 8 - up one level
p - toggle preview
Break or ^C - quit

Score:
Each time you drop, your score is increased by:
(fallheigth/2+2)*level or
(fallheigth/2+1)*level if you use preview.

Note.
USE ONLY A COLOR MONITOR


SmallTetris was assembled with Turbo Assambler 3.0
I'm sorry for the poorly documented source.
This program was intended to be small (2k), not structured.

Report bugs or ask questions to:
Internet adress: toreba@ifi.uio.no




Top
Download 
Tell a friend
Bookmark and Share



Similar Articles

386ID Four ways to identify your CPU model
Commented assembly source code
(by Bob Smith - Qualitas)

An assembler DOS Shell
A short code to execute dos commands
(by L. B. Neal)

Directory Treeview x86 assembly source
A commented example of directory tree view
(by Swift-Ware)

Extending DOS Executables
How to modify a Windows executable relocating code
(by Digital Alchemist)

Simple text mode File Browser
DOS Assembly source code
(by unknown)

UMB Residency
Esempio di allocazione di codice in UMB
(by Dark Angel)

 Tags: medium source, game


webmaster jes
writers rguru, tech-g, aiguru, drAx

site optimized for IE/Firefox/Chrome with 1024x768 resolution

Valid HTML 4.01 Transitional


ALL TRADEMARKS ® ARE PROPERTY OF LEGITTIMATE OWNERS.
© ALL RIGHTS RESERVED.

hosting&web - www.accademia3.it

grossocactus
find rguru on
http://www.twitter.com/sicurezza3/
... send an email ...
Your name

Destination email

Message

captcha! Code