Tetris (Microsoft Entertainment Pack for Windows): Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
No edit summary
(Minimum value of a 16-bit signed int is -32,768, not -32,767.)
Line 17: Line 17:
*The current piece starts with an initial score value, which increases for each successive playing level.  Each time you rotate the piece or move it horizontally, its score value decreases.   
*The current piece starts with an initial score value, which increases for each successive playing level.  Each time you rotate the piece or move it horizontally, its score value decreases.   
*If you drop the piece, its score value increases proportionally to the distance it falls.  Therefore, you can achieve the highest score per piece by immediately dropping the piece from the top of the playing area. (The lowest score per piece will result when you continually manipulate the piece until it lands on another piece or the bottom of the playing area)
*If you drop the piece, its score value increases proportionally to the distance it falls.  Therefore, you can achieve the highest score per piece by immediately dropping the piece from the top of the playing area. (The lowest score per piece will result when you continually manipulate the piece until it lands on another piece or the bottom of the playing area)
*Programmers used integer variables to store points gained by the player, so in effect when you reach 32,767 your score goes to the beginning of the variable (which is -32,767).
*Programmers used 16-bit signed integer variables to store points gained by the player. Because of the binary representation of the signed number inside the computer, after you reach the largest possible value (32,767 points) it overflows and is displayed as a negative number (-32,768 points).
{| border="2" cellpadding="2" cellspacing="0" style="margin-top:1em; margin-bottom:1em; background:#f9f9f9; border:3px #999999 solid; border-collapse:collapse;"
{| border="2" cellpadding="2" cellspacing="0" style="margin-top:1em; margin-bottom:1em; background:#f9f9f9; border:3px #999999 solid; border-collapse:collapse;"
|+'''Bonus for clearing rows'''
|+'''Bonus for clearing rows'''

Revision as of 17:15, 7 January 2009

Microsoft Entertainment Pack for Windows
Publisher(s)Microsoft
Platform(s)Microsoft Windows 3.x
Release1990
Gameplay info
Next pieces1
Playfield size10w x 20h visible
Hold pieceNo
Hard dropHard drop only
Windtetrisstart.png
Windtetrisgame.png

Also known as Microsoft's Best Of Windows Entertainment Pack or BOWEP for short.

Scoring

Integer passed
  • The current piece starts with an initial score value, which increases for each successive playing level. Each time you rotate the piece or move it horizontally, its score value decreases.
  • If you drop the piece, its score value increases proportionally to the distance it falls. Therefore, you can achieve the highest score per piece by immediately dropping the piece from the top of the playing area. (The lowest score per piece will result when you continually manipulate the piece until it lands on another piece or the bottom of the playing area)
  • Programmers used 16-bit signed integer variables to store points gained by the player. Because of the binary representation of the signed number inside the computer, after you reach the largest possible value (32,767 points) it overflows and is displayed as a negative number (-32,768 points).
Bonus for clearing rows
Row Points
One Row 100
Two Rows 200
Three Rows 400
Four Rows 800