Tetris/Microsoft Small Basic: Difference between revisions

m
→‎Code: Fixed syntax highlighting.
(moved Tetris/Microsoft Small Basic to separate page)
 
m (→‎Code: Fixed syntax highlighting.)
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{collection|Tetris}}
=={{header|Microsoft Small Basic}}==
===Code===
This game was coded by Small Basic coder Kenneth Kasajian.
<langsyntaxhighlight lang="smallbasic">GraphicsWindow.KeyDown = HandleKey
GraphicsWindow.BackgroundColor = GraphicsWindow.GetColorFromRGB( 253, 252, 251 )
 
Line 536 ⟶ 537:
Array.SetValue("template7", "pviewx", 0)
Array.SetValue("template7", "pviewy", 0)
EndSub</langsyntaxhighlight>
9,476

edits