Tetris/Go: Difference between revisions

m
Fixed syntax highlighting.
(Oops, typo)
m (Fixed syntax highlighting.)
 
Line 15:
 
The C game uses gray for all 7 pieces but I have changed this so that the active piece and the incoming (aka preview) piece display in the standard colors. However, when the active piece hits the bottom its color changes to gray as before.
<langsyntaxhighlight lang="go">package main
 
import (
Line 727:
UnloadGame()
rl.CloseWindow()
}</langsyntaxhighlight>
9,476

edits