Index: uspace/app/tetris/screen.c
===================================================================
--- uspace/app/tetris/screen.c	(revision ef8bcc6df47519f80b0b59ebb86b4c416a742a7b)
+++ uspace/app/tetris/screen.c	(revision 94d484ac742127ae8d87a7e0bb630fafe11f65be)
@@ -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)) {
