flat assembler
Message board for the users of flat assembler.

Index > DOS > TETRIS 6 june 1984-2010

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
hi all.

there a tetris for the birthday of tetris.
Image
tetris.com

exit = echap OR alt+F4
ctrl = start/pause
arrows = direct, rotate and fall




my best score is 461, level 28


[edit]
skin and palette:
Image
Image
Code:
GIMP Palette
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  0   0   0
  8   0   0
 16   0   0
 24   0   0
 32   0   0
 40   0   0
 48   0   0
 56   0   0
 64   0   0
 72   0   0
 80   0   0
 88   0   0
 96   0   0
104   0   0
112   0   0
120   0   0
128   0   0
136   0   0
144   0   0
152   0   0
160   0   0
168   0   0
176   0   0
184   0   0
192   0   0
200   0   0
208   0   0
216   0   0
224   0   0
232   0   0
240   0   0
248   0   0
120 120 120
248 248 248
  0   0   0
  0   8   0
  0  16   0
  0  24   0
  0  32   0
  0  40   0
  0  48   0
  0  56   0
  0  64   0
  0  72   0
  0  80   0
  0  88   0
  0  96   0
  0 104   0
  0 112   0
  0 120   0
  0 128   0
  0 136   0
  0 144   0
  0 152   0
  0 160   0
  0 168   0
  0 176   0
  0 184   0
  0 192   0
  0 200   0
  0 208   0
  0 216   0
  0 224   0
  0 232   0
  0 240   0
  0 248   0
  0   0   0
  8   8   0
 16  16   0
 24  24   0
 32  32   0
 40  40   0
 48  48   0
 56  56   0
 64  64   0
 72  72   0
 80  80   0
 88  88   0
 96  96   0
104 104   0
112 112   0
120 120   0
128 128   0
136 136   0
144 144   0
152 152   0
160 160   0
168 168   0
176 176   0
184 184   0
192 192   0
200 200   0
208 208   0
216 216   0
224 224   0
232 232   0
240 240   0
248 248   0
  0   0   0
  0   0   8
  0   0  16
  0   0  24
  0   0  32
  0   0  40
  0   0  48
  0   0  56
  0   0  64
  0   0  72
  0   0  80
  0   0  88
  0   0  96
  0   0 104
  0   0 112
  0   0 120
  0   0 128
  0   0 136
  0   0 144
  0   0 152
  0   0 160
  0   0 168
  0   0 176
  0   0 184
  0   0 192
  0   0 200
  0   0 208
  0   0 216
  0   0 224
  0   0 232
  0   0 240
  0   0 248
  0   0   0
  8   0   8
 16   0  16
 24   0  24
 32   0  32
 40   0  40
 48   0  48
 56   0  56
 64   0  64
 72   0  72
 80   0  80
 88   0  88
 96   0  96
104   0 104
112   0 112
120   0 120
128   0 128
136   0 136
144   0 144
152   0 152
160   0 160
168   0 168
176   0 176
184   0 184
192   0 192
200   0 200
208   0 208
216   0 216
224   0 224
232   0 232
240   0 240
248   0 248
  0   0   0
  0   8   8
  0  16  16
  0  24  24
  0  32  32
  0  40  40
  0  48  48
  0  56  56
  0  64  64
  0  72  72
  0  80  80
  0  88  88
  0  96  96
  0 104 104
  0 112 112
  0 120 120
  0 128 128
  0 136 136
  0 144 144
  0 152 152
  0 160 160
  0 168 168
  0 176 176
  0 184 184
  0 192 192
  0 200 200
  0 208 208
  0 216 216
  0 224 224
  0 232 232
  0 240 240
  0 248 248
  0   0   0
  8   8   8
 16  16  16
 24  24  24
 32  32  32
 40  40  40
 48  48  48
 56  56  56
 64  64  64
 72  72  72
 80  80  80
 88  88  88
 96  96  96
104 104 104
112 112 112
128 128 128
136 136 136
144 144 144
152 152 152
160 160 160
168 168 168
176 176 176
184 184 184
192 192 192
200 200 200
208 208 208
216 216 216
224 224 224
232 232 232
240 240 240
255 255 255
    


Description: source code of tetris
Download
Filename: tetris.zip
Filesize: 205.01 KB
Downloaded: 198 Time(s)

Description: direct to execute tetris light version, flash game mode. level increase for each line completed.
Download
Filename: tetris.zip
Filesize: 26.81 KB
Downloaded: 181 Time(s)



Last edited by edfed on 30 Apr 2011, 15:27; edited 5 times in total
Post 06 Jun 2010, 03:48
View user's profile Send private message Visit poster's website Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
Did you make that? How'd you make a gui in a ".com"?
Post 06 Jun 2010, 04:35
View user's profile Send private message Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel
What an incredible coincidence! Without even knowing about that 'birthday', I installed a tetris implementation at 1AM this morning. Very Happy
Post 06 Jun 2010, 09:01
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
I'm wondering why you would install a 20 y/o game. How often do you expect to play it? Razz
Post 06 Jun 2010, 09:10
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17259
Location: In your JS exploiting you and your system
revolution
Some of the old ones are still the best.
Post 06 Jun 2010, 10:59
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> there a tetris for the birthday of tetris

Did you code it ? Where is the source ? All what I find is a 63 KiB "tetris.com" ...

> How'd you make a gui in a ".com"?

What's the problem ???

> I'm wondering why you would install a 20 y/o game. How often
> do you expect to play it? Razz

I wonder why you answer here at all if you consider Tetris as that obsolete and evil Shocked
Post 06 Jun 2010, 11:49
View user's profile Send private message Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel
Tyler wrote:
I'm wondering why you would install a 20 y/o game. How often do you expect to play it? Razz

1. Because it is a classic like pacman (30 years old, last month) and others!
2. Because 99.99% of games are for Windows.
3. Because virtually all new games can't run on my old machines.
Razz^2


Last edited by ManOfSteel on 06 Jun 2010, 12:56; edited 1 time in total
Post 06 Jun 2010, 12:50
View user's profile Send private message Reply with quote
Coty



Joined: 17 May 2010
Posts: 546
Location: ␀
Coty
Thanks for this edfed Smile
Tyler wrote:
How'd you make a gui in a ".com"?

Basically the same way you would do it in an EXE, just be careful not to go over 64kb Smile
Quote:
I'm wondering why you would install a 20 y/o game. How often do you expect to play it?

It will work fine under windows XP, although vista + I do not know, vista did not like GUI in .com files, could always have a re-make, there are tons of remakes Smile
Post 06 Jun 2010, 12:55
View user's profile Send private message Send e-mail Visit poster's website AIM Address Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
the source is a little messy for the moment, then, i don't post it.

i am currently working on scoring system.
to save best level and best score games.

i need to include menu items for best game loading, last game loading, arrows to point to the pause and gameover menu buttons

and also a skin loader is needed, but not very important.


see the first post for updates.
Post 06 Jun 2010, 13:03
View user's profile Send private message Visit poster's website Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
Source code! Source code! Source code! Very Happy
Post 06 Jun 2010, 14:10
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
Post 06 Jun 2010, 14:12
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
YES it works Smile

Tiny flaws:

- Not centered and white background
- No (C) edfed noted
- No TFM included (but it's trivial)
- No source code

FYI, other COOL DOS TETRIS (176 KiB, not done with FASM)
Post 07 Jun 2010, 06:29
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
copywrite edfed? off course there is one. the little smiley at the bootom.


TFM? what is it?
Post 07 Jun 2010, 07:37
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17259
Location: In your JS exploiting you and your system
revolution
edfed wrote:
TFM? what is it?
Didn't you ever Read TFM? Razz
Post 07 Jun 2010, 09:04
View user's profile Send private message Visit poster's website Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
It's not that I meant Tetris is a bad game, my opinion leans more to the opposite. It's just that I wouldn't install it because I'd only play it for like a hour every other month.

Tetris made me mad once as I child. It was on a Gameboy Color and was really fast, I sucked at it. Maybe that's why I wouldn't play it now.
Post 07 Jun 2010, 23:07
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
Maybe you'd be interested in this http://board.flatassembler.net/topic.php?p=111723#111723. It's a really cool demo by Tomasz.
Post 07 Jun 2010, 23:10
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko
several days ago i downloaded edfed's tetris, wow
Tyler wrote:

Maybe you'd be interested in this http://board.flatassembler.net/topic.php?p=111723#111723. It's a really cool demo by Tomasz.

can it be merged with "%SYSTEMDRIVE%\boot.ini" file as a boot option
Post 16 Jul 2010, 07:26
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
DOS386 wrote:
YES it works Smile


Tested correctly here under Lucid PuppyLinux 5.01, DOSBox 0.74. Razz

Quote:

Tiny flaws:

- Not centered and white background


Use the mouse to drag the window.

Quote:

- No (C) edfed noted
- No TFM included (but it's trivial)
- No source code


July 4th version has source with copyright, but still no manual (not needed anyways, IMHO).

edfed, bravo, magnifique! Laughing
Post 19 Jul 2010, 11:41
View user's profile Send private message Visit poster's website Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
edemko wrote:
can it be merged with "%SYSTEMDRIVE%\boot.ini" file as a boot option
Not unless NTLDR supports chainloading. Does it?
Post 19 Jul 2010, 22:30
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
Tyler,

It does. Add the following line
Code:
C:\TETROS.BIN="TetrOS 1.01 (c) 2004 Tomasz Grysztar"    
to %SystemDrive%\boot.ini in [operating systems] section and you're almost ready to go (with timeout=0 in [boot loader] section boot menu won't show up, you'll need to press F8).
Post 19 Jul 2010, 23:01
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.