Index: uspace/app/tetris/screen.c
===================================================================
--- uspace/app/tetris/screen.c	(revision 00fe6bb9f3900b831cc55a1d27c590fa72b632c9)
+++ uspace/app/tetris/screen.c	(revision bf5443db843772effe3c9550c0c52abe77c2ff0e)
@@ -63,4 +63,6 @@
 static int isset;               /* true => terminal is in game mode */
 
+static int use_color;		/* true => use colors */
+
 static const struct shape *lastshape;
 
@@ -79,5 +81,6 @@
 {
 	fflush(stdout);
-	console_set_rgb_color(fphone(stdout), 0xf0f0f0, color);
+	console_set_rgb_color(fphone(stdout), 0xf0f0f0,
+	    use_color ? color : 0x000000);
 }
 
@@ -128,4 +131,16 @@
 }
 
+static int get_display_color_sup(void)
+{
+	int rc;
+	int ccap;
+
+	rc = console_get_color_cap(fphone(stdout), &ccap);
+	if (rc != 0)
+		return 0;
+
+	return (ccap >= CONSOLE_CCAP_RGB);
+}
+
 /*
  * Set up screen mode.
@@ -142,4 +157,6 @@
 		Cols = ws.ws_col;
 	}
+
+	use_color = get_display_color_sup();
 	
 	if ((Rows < MINROWS) || (Cols < MINCOLS)) {
